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§

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

source§

impl Parse for Color

source§

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

source§

impl Parse for Content

source§

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

source§

impl Parse for Gaps

source§

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

source§

impl Parse for Position

source§

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

source§

impl Parse for Size

source§

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

source§

impl Parse for SkFontStyle_Slant

source§

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