Struct amethyst_assets::RonFormat[][src]

pub struct RonFormat;

Format for loading from Ron files.

Trait Implementations

impl Default for RonFormat
[src]

Returns the "default value" for a type. Read more

impl Clone for RonFormat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for RonFormat
[src]

Formats the value using the given formatter. Read more

impl<T> SimpleFormat<T> for RonFormat where
    T: Asset,
    T::Data: for<'a> Deserialize<'a> + Send + Sync + 'static, 
[src]

NAME: &'static str = "Ron"

A unique identifier for this format.

Options specific to the format, which are passed to import. E.g. for textures this would be stuff like mipmap levels and sampler info. Read more

Produces asset data from given bytes.

Auto Trait Implementations

impl Send for RonFormat

impl Sync for RonFormat