pub enum ControlBlockItem {
Span {
frame_offset: u32,
frame_count: u32,
control: PlayerControl,
},
Transition {
frame_offset: u32,
event: TimedPlayerControl,
},
}Variants§
Span
Render these frames with one unchanged control value.
Transition
Apply this transition before rendering the frame at frame_offset.
Implementations§
Source§impl ControlBlockItem
impl ControlBlockItem
pub const fn frame_offset(self) -> u32
Trait Implementations§
Source§impl Clone for ControlBlockItem
impl Clone for ControlBlockItem
Source§fn clone(&self) -> ControlBlockItem
fn clone(&self) -> ControlBlockItem
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 Copy for ControlBlockItem
Source§impl Debug for ControlBlockItem
impl Debug for ControlBlockItem
Source§impl PartialEq for ControlBlockItem
impl PartialEq for ControlBlockItem
impl StructuralPartialEq for ControlBlockItem
Auto Trait Implementations§
impl Freeze for ControlBlockItem
impl RefUnwindSafe for ControlBlockItem
impl Send for ControlBlockItem
impl Sync for ControlBlockItem
impl Unpin for ControlBlockItem
impl UnsafeUnpin for ControlBlockItem
impl UnwindSafe for ControlBlockItem
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