Struct amethyst_assets::SingleFile [−][src]
An implementation of Reload which just stores the modification time
and the path of the file.
Methods
impl<A: Asset, F: Format<A>> SingleFile<A, F>[src]
impl<A: Asset, F: Format<A>> SingleFile<A, F>pub fn new(
format: F,
modified: u64,
options: F::Options,
path: String,
source: Arc<Source>
) -> Self[src]
pub fn new(
format: F,
modified: u64,
options: F::Options,
path: String,
source: Arc<Source>
) -> SelfCreates a new SingleFile reload object.
Trait Implementations
impl<A, F> Clone for SingleFile<A, F> where
A: Asset,
F: Clone + Format<A>,
F::Options: Clone, [src]
impl<A, F> Clone for SingleFile<A, F> where
A: Asset,
F: Clone + Format<A>,
F::Options: Clone, fn clone(&self) -> Self[src]
fn clone(&self) -> SelfReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<A, F> Reload<A> for SingleFile<A, F> where
A: Asset,
F: Clone + Format<A> + Sync,
<F as Format<A>>::Options: Clone + Sync, [src]
impl<A, F> Reload<A> for SingleFile<A, F> where
A: Asset,
F: Clone + Format<A> + Sync,
<F as Format<A>>::Options: Clone + Sync,