pub struct TrackSet { /* private fields */ }Implementations§
Source§impl TrackSet
impl TrackSet
pub fn new(frame_interval: f32, tracks: Vec<Track>) -> Self
pub fn frame_interval(&self) -> f32
pub fn tracks(&self) -> &[Track]
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn node_count(&self) -> usize
pub fn divisions(&self) -> usize
pub fn track(&self, index: usize) -> Option<&Track>
pub fn track_at(&self, time: u32, object: usize) -> Option<usize>
pub fn statistics(&self, index: usize) -> Option<TrackStatistics>
pub fn children(&self, index: usize) -> impl Iterator<Item = usize> + '_
pub fn mesh(&self, radius: f32) -> Mesh
Trait Implementations§
impl StructuralPartialEq for TrackSet
Auto Trait Implementations§
impl Freeze for TrackSet
impl RefUnwindSafe for TrackSet
impl Send for TrackSet
impl Sync for TrackSet
impl Unpin for TrackSet
impl UnsafeUnpin for TrackSet
impl UnwindSafe for TrackSet
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