pub struct EditorStatusView {
pub current_frame: u64,
pub duration_frames: u64,
pub playing: bool,
pub fps: u32,
pub rate: f32,
pub in_frame: u64,
pub out_frame: u64,
pub looping: bool,
}Expand description
Serializable snapshot of the editor playhead for the transport UI.
Fields§
§current_frame: u64Current playhead frame.
duration_frames: u64Total project length in frames.
playing: boolWhether the clock is advancing.
fps: u32Project frame rate.
rate: f32Playback rate multiplier.
in_frame: u64In-point (inclusive).
out_frame: u64Out-point (exclusive).
looping: boolWhether looping over the in/out range is enabled.
Trait Implementations§
Source§impl Clone for EditorStatusView
impl Clone for EditorStatusView
Source§fn clone(&self) -> EditorStatusView
fn clone(&self) -> EditorStatusView
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 moreSource§impl Debug for EditorStatusView
impl Debug for EditorStatusView
Source§impl PartialEq for EditorStatusView
impl PartialEq for EditorStatusView
Source§fn eq(&self, other: &EditorStatusView) -> bool
fn eq(&self, other: &EditorStatusView) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EditorStatusView
impl Serialize for EditorStatusView
impl Copy for EditorStatusView
impl StructuralPartialEq for EditorStatusView
Auto Trait Implementations§
impl Freeze for EditorStatusView
impl RefUnwindSafe for EditorStatusView
impl Send for EditorStatusView
impl Sync for EditorStatusView
impl Unpin for EditorStatusView
impl UnsafeUnpin for EditorStatusView
impl UnwindSafe for EditorStatusView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more