pub struct Layer {
pub playback: Playback,
pub blend: i64,
pub left: i64,
pub started: bool,
pub instance: Option<i32>,
}Expand description
One layer of an AnimationStack (AnimationState entry, 0x38 bytes): its clip and clock, and
while it fades out under a newer layer, the blend time and what is left of it.
Fields§
§playback: PlaybackThe clip and its clock.
blend: i64The blend time.
left: i64The blend time left.
started: boolThe layer has been updated once.
instance: Option<i32>The shared instance it follows (an instanced clip), see shared.
Trait Implementations§
impl StructuralPartialEq for Layer
Auto Trait Implementations§
impl Freeze for Layer
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnsafeUnpin for Layer
impl UnwindSafe for Layer
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