[][src]Trait arctk::file::load::Load

pub trait Load where
    Self: Sized
{ fn load(path: &Path) -> Result<Self, Error>; }

Types implementing this trait can be loaded from a file.

Required methods

fn load(path: &Path) -> Result<Self, Error>

Deserialize the type from a given file.

Errors

if the target file can not be found, or the read string can not be serialised into an instance of the required type.

Loading content...

Implementations on Foreign Types

impl<T: Numeric> Load for ArrayD<T>[src]

impl<T: Numeric> Load for Array2<T>[src]

impl<T: Numeric> Load for Array3<T>[src]

Loading content...

Implementors

impl Load for EmitterBuilder[src]

impl Load for AspectRatio[src]

impl Load for FormulaBuilder[src]

impl Load for ProbabilityBuilder[src]

impl Load for AttributeLinker[src]

impl Load for EngineBuilder[src]

impl Load for GridBuilder[src]

impl Load for SurfaceBuilder[src]

impl Load for TreeSettings[src]

impl Load for Cube[src]

impl Load for Mesh[src]

impl Load for MeshBuilder[src]

impl Load for GradientBuilder[src]

impl Load for Trans3Builder[src]

impl Load for LightBuilder[src]

impl Load for MaterialBuilder[src]

impl Load for SettingsLinker[src]

impl Load for ParametersBuilder[src]

impl Load for Range[src]

impl<T> Load for Set<T> where
    T: Deserialize<'de>, 
[src]

impl<T: Load> Load for Redirect<T> where
    T: Deserialize<'de>, 
[src]

impl<T: FromStr> Load for Table<T>[src]

Loading content...