Trait freya_testing::prelude::Parse

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

Required Methods§

source

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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Parse for Alignment

source§

impl Parse for Content

source§

impl Parse for Position

source§

impl Parse for Size

source§

impl Parse for Gaps

source§

impl Parse for AriaCurrent

source§

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

source§

impl Parse for AutoComplete

source§

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

source§

impl Parse for Color

source§

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

source§

impl Parse for DefaultActionVerb

source§

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

source§

impl Parse for HasPopup

source§

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

source§

impl Parse for Invalid

source§

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

source§

impl Parse for ListStyle

source§

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

source§

impl Parse for Live

source§

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

source§

impl Parse for Orientation

source§

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

source§

impl Parse for Role

source§

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

source§

impl Parse for SkFontStyle_Slant

source§

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

source§

impl Parse for SortDirection

source§

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

source§

impl Parse for TextDecoration

source§

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

source§

impl Parse for TextShadow

source§

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

source§

impl Parse for Toggled

source§

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

source§

impl Parse for VerticalOffset

source§

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

source§

impl Parse for Weight

source§

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

source§

impl Parse for Width

source§

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

source§

impl Parse for skia_textlayout_TextAlign

source§

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

source§

impl Parse for skia_textlayout_TextDecorationStyle

source§

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

Implementors§