Trait freya_node_state::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<Self, ParseError>

source§

impl Parse for Content

source§

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

source§

impl Parse for Position

source§

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

source§

impl Parse for Size

source§

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

source§

impl Parse for Gaps

source§

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

source§

impl Parse for Color

source§

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

source§

impl Parse for Slant

source§

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

source§

impl Parse for TextAlign

source§

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

source§

impl Parse for TextDecoration

source§

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

source§

impl Parse for TextDecorationStyle

source§

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

source§

impl Parse for TextShadow

source§

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

source§

impl Parse for Weight

source§

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

source§

impl Parse for Width

source§

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

Implementors§