[][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...

Implementors

impl Load for AspectRatio[src]

impl Load for FormulaBuilder[src]

impl Load for ProbabilityBuilder[src]

impl Load for GridBuilder[src]

impl Load for TreeBuilder[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 Range[src]

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

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

Loading content...