pub trait LoadProperty<'a>: Sized {
    type Value;
    type Error;

    fn expecting(&self) -> String;
    fn load(self, node: &PropertyHandle<'a>) -> Result<Self::Value, Self::Error>;
}
Expand description

A trait for property loader types.

Required Associated Types

Value type.

Error type.

Required Methods

Describes the expecting value.

Loads a value from the property handle if possible.

Implementations on Foreign Types

Implementors