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 Color

source§

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