pub struct SampleBatch<'a, T = AnimationValue> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<'a, T> Clone for SampleBatch<'a, T>where
T: Clone,
impl<'a, T> Clone for SampleBatch<'a, T>where
T: Clone,
Source§fn clone(&self) -> SampleBatch<'a, T>
fn clone(&self) -> SampleBatch<'a, T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a, T> Copy for SampleBatch<'a, T>where
T: Copy,
Source§impl<'a, T> Debug for SampleBatch<'a, T>where
T: Debug,
impl<'a, T> Debug for SampleBatch<'a, T>where
T: Debug,
Source§impl<'a, T> IntoIterator for SampleBatch<'a, T>
impl<'a, T> IntoIterator for SampleBatch<'a, T>
Source§type Item = &'a SampledAnimationValue<T>
type Item = &'a SampledAnimationValue<T>
The type of the elements being iterated over.
Source§type IntoIter = Iter<'a, SampledAnimationValue<T>>
type IntoIter = Iter<'a, SampledAnimationValue<T>>
Which kind of iterator are we turning this into?
Source§fn into_iter(self) -> <SampleBatch<'a, T> as IntoIterator>::IntoIter
fn into_iter(self) -> <SampleBatch<'a, T> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
Source§impl<'a, T> PartialEq for SampleBatch<'a, T>where
T: PartialEq,
impl<'a, T> PartialEq for SampleBatch<'a, T>where
T: PartialEq,
impl<'a, T> StructuralPartialEq for SampleBatch<'a, T>where
T: PartialEq,
Auto Trait Implementations§
impl<'a, T> Forget for SampleBatch<'a, T>
impl<'a, T> Freeze for SampleBatch<'a, T>where
&'a [SampledAnimationValue<T>]: Freeze,
impl<'a, T> Move for SampleBatch<'a, T>
impl<'a, T> RefUnwindSafe for SampleBatch<'a, T>where
&'a [SampledAnimationValue<T>]: RefUnwindSafe,
impl<'a, T> Send for SampleBatch<'a, T>where
&'a [SampledAnimationValue<T>]: Send,
impl<'a, T> Sync for SampleBatch<'a, T>where
&'a [SampledAnimationValue<T>]: Sync,
impl<'a, T> Unpin for SampleBatch<'a, T>where
&'a [SampledAnimationValue<T>]: Unpin,
impl<'a, T> UnsafeUnpin for SampleBatch<'a, T>where
&'a [SampledAnimationValue<T>]: UnsafeUnpin,
impl<'a, T> UnwindSafe for SampleBatch<'a, T>where
&'a [SampledAnimationValue<T>]: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
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.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.