Trait freya_testing::prelude::Parse

pub trait Parse: Sized {
    // Required method
    fn parse(value: &str) -> Result<Self, ParseError>;
}

Required Methods§

fn parse(value: &str) -> Result<Self, ParseError>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl Parse for Alignment

§

fn parse(value: &str) -> Result<Alignment, ParseError>

§

impl Parse for Color

§

fn parse(value: &str) -> Result<Color, ParseError>

§

impl Parse for Content

§

fn parse(value: &str) -> Result<Content, ParseError>

§

impl Parse for Gaps

§

fn parse(value: &str) -> Result<Gaps, ParseError>

§

impl Parse for Position

§

fn parse(value: &str) -> Result<Position, ParseError>

§

impl Parse for Size

§

fn parse(value: &str) -> Result<Size, ParseError>

§

impl Parse for SkFontStyle_Slant

§

fn parse(value: &str) -> Result<SkFontStyle_Slant, ParseError>

§

impl Parse for TextDecoration

§

fn parse(value: &str) -> Result<TextDecoration, ParseError>

§

impl Parse for TextShadow

§

fn parse(value: &str) -> Result<TextShadow, ParseError>

§

impl Parse for Weight

§

fn parse(value: &str) -> Result<Weight, ParseError>

§

impl Parse for Width

§

fn parse(value: &str) -> Result<Width, ParseError>

§

impl Parse for skia_textlayout_TextAlign

§

fn parse(value: &str) -> Result<skia_textlayout_TextAlign, ParseError>

§

impl Parse for skia_textlayout_TextDecorationStyle

§

fn parse(value: &str) -> Result<skia_textlayout_TextDecorationStyle, ParseError>

Implementors§