Struct ivy_base::FixedTimeStep
source · [−]pub struct FixedTimeStep<T: Layer> { /* private fields */ }
Expand description
Abstracts a layer executing other layers at a fixed timestep.
Implementations
Trait Implementations
Called for each iteration of the application event loop. The layer can return an error. frame_time: The duration between this and the last application frame. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for FixedTimeStep<T> where
T: RefUnwindSafe,
impl<T> Send for FixedTimeStep<T> where
T: Send,
impl<T> Sync for FixedTimeStep<T> where
T: Sync,
impl<T> Unpin for FixedTimeStep<T> where
T: Unpin,
impl<T> UnwindSafe for FixedTimeStep<T> where
T: UnwindSafe,
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: FloatComponent,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: FloatComponent,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
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
Convert into T with values clamped to the color defined bounds Read more
Convert into T. The resulting color might be invalid in its color space Read more
Convert into T, returning ok if the color is inside of its defined
range, otherwise an OutOfBounds
error is returned which contains
the unclamped color. Read more