pub struct ScriptCursor {
pub time: f32,
}Expand description
Tracks the “pen position” — the time at which the next action will be placed.
Fields§
§time: f32Implementations§
Trait Implementations§
Source§impl Clone for ScriptCursor
impl Clone for ScriptCursor
Source§fn clone(&self) -> ScriptCursor
fn clone(&self) -> ScriptCursor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScriptCursor
impl Debug for ScriptCursor
Source§impl Default for ScriptCursor
impl Default for ScriptCursor
Source§fn default() -> ScriptCursor
fn default() -> ScriptCursor
Returns the “default value” for a type. Read more
impl Copy for ScriptCursor
Auto Trait Implementations§
impl Freeze for ScriptCursor
impl RefUnwindSafe for ScriptCursor
impl Send for ScriptCursor
impl Sync for ScriptCursor
impl Unpin for ScriptCursor
impl UnsafeUnpin for ScriptCursor
impl UnwindSafe for ScriptCursor
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