pub struct LaneEntry {
pub lane: Weak<BarLane>,
pub model: Arc<ModelEntry>,
pub props: LaneEntryProps,
}Fields§
§lane: Weak<BarLane>§model: Arc<ModelEntry>§props: LaneEntryPropsImplementations§
Source§impl LaneEntry
impl LaneEntry
pub fn in_bar_pos(&self) -> Units
pub fn bar_position(&self) -> BarPosition
Source§impl LaneEntry
impl LaneEntry
pub fn model(&self) -> &ModelEntry
pub fn proto(&self) -> &ProtoEntry
pub fn prev(&self) -> Option<Arc<LaneEntry>>
pub fn next(&self) -> Option<Arc<LaneEntry>>
pub fn prev_as_mark(&self) -> Option<String>
pub fn track_id(&self) -> String
pub fn track_kind(&self) -> TrackKind
pub fn track_index(&self) -> Option<usize>
pub fn get_lane_entry<T, F: Fn(&LaneEntry) -> Option<T>>( &self, predicate: &F, ) -> Option<T>
pub fn get_track_entry<T, F: Fn(&ModelEntry) -> Option<T>>( &self, predicate: &F, ) -> Option<T>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LaneEntry
impl RefUnwindSafe for LaneEntry
impl Send for LaneEntry
impl Sync for LaneEntry
impl Unpin for LaneEntry
impl UnwindSafe for LaneEntry
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