pub struct TimelineTrack { /* private fields */ }Expand description
A row of a Timeline.
Implementations§
Source§impl TimelineTrack
impl TimelineTrack
Sourcepub fn new(
label: impl Into<String>,
height: f32,
items: Vec<TimelineItem>,
) -> TimelineTrack
pub fn new( label: impl Into<String>, height: f32, items: Vec<TimelineItem>, ) -> TimelineTrack
A track named label, height logical pixels tall.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TimelineTrack
impl !Send for TimelineTrack
impl !Sync for TimelineTrack
impl !UnwindSafe for TimelineTrack
impl Freeze for TimelineTrack
impl Unpin for TimelineTrack
impl UnsafeUnpin for TimelineTrack
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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