Trait geo_aid::script::parser::FromProperty

source ·
pub trait FromProperty: Sized {
    // Required method
    fn from_property(property: PropertyValue) -> Result<Self, Error>;
}

Required Methods§

source

fn from_property(property: PropertyValue) -> Result<Self, Error>

§Errors

Causes an error if the value is not properly convertible.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FromProperty for bool

source§

impl FromProperty for String

source§

impl<T: FromProperty> FromProperty for Result<T, Error>

Implementors§