Trait freya_node_state::Parse

source ·
pub trait Parse: Sized {
    type Err;

    // Required method
    fn parse(value: &str) -> Result<Self, Self::Err>;
}

Required Associated Types§

Required Methods§

source

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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Parse for Slant

§

type Err = ParseSlantError

source§

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

source§

impl Parse for TextAlign

§

type Err = ParseTextAlignError

source§

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

source§

impl Parse for TextDecorationStyle

source§

impl Parse for Alignment

§

type Err = ParseAlignmentError

source§

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

source§

impl Parse for Content

§

type Err = ParseContentError

source§

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

source§

impl Parse for Position

§

type Err = ParsePositionError

source§

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

source§

impl Parse for Size

§

type Err = ParseSizeError

source§

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

source§

impl Parse for Color

§

type Err = ParseColorError

source§

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

source§

impl Parse for TextDecoration

§

type Err = ParseTextDecorationError

source§

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

source§

impl Parse for TextShadow

§

type Err = ParseTextShadowError

source§

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

source§

impl Parse for Weight

§

type Err = ParseWeightError

source§

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

source§

impl Parse for Width

§

type Err = ParseWidthError

source§

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

source§

impl Parse for Gaps

§

type Err = ParseGapError

source§

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

Implementors§