Struct keeshond::audio::Sound [−][src]
pub struct Sound { /* fields omitted */ }
Expand description
A resource representing a sound that can be played.
Trait Implementations
The folder name that DataObjects of this type are stored in
The TrustPolicy for this resource type, which determines what sources are allowed to load it.
Determines whether or not a given file should be loaded while iterating through a package.
A constructor that returns a new DataObject of this type given a path and a Source object.
A function that writes to the given [Write] object to save its data
Implement this to support “generations” for detecting when the data for a given path is changed.
Implement this to support “generations” for detecting when the data for a given path is changed.
Auto Trait Implementations
impl RefUnwindSafe for Sound
impl UnwindSafe for Sound
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more