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 AriaCurrent

§

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

§

impl Parse for AutoComplete

§

fn parse(value: &str) -> Result<AutoComplete, 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 DefaultActionVerb

§

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

§

impl Parse for Gaps

§

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

§

impl Parse for HasPopup

§

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

§

impl Parse for Invalid

§

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

§

impl Parse for ListStyle

§

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

§

impl Parse for Live

§

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

§

impl Parse for Orientation

§

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

§

impl Parse for Position

§

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

§

impl Parse for Role

§

fn parse(value: &str) -> Result<Role, 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 SortDirection

§

fn parse(value: &str) -> Result<SortDirection, 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 Toggled

§

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

§

impl Parse for VerticalOffset

§

fn parse(value: &str) -> Result<VerticalOffset, 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>

§

impl Parse for skia_textlayout_TextHeightBehavior

§

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

Implementors§