pub struct BarLane {
pub bar: Weak<TabBar>,
pub kind: LaneKind,
pub track: Arc<Track>,
pub entries: Vec<Arc<LaneEntry>>,
pub props: BarLaneProps,
}Fields§
§bar: Weak<TabBar>§kind: LaneKind§track: Arc<Track>§entries: Vec<Arc<LaneEntry>>§props: BarLanePropsImplementations§
Source§impl BarLane
impl BarLane
pub fn id(&self) -> String
pub fn kind_id(&self, kind: LaneKind) -> String
pub fn order(&self) -> (usize, LaneKind)
pub fn try_new_arc( bar: Weak<TabBar>, index: usize, track: &Arc<Track>, slice: Slice, ) -> Option<Arc<Self>>
pub fn merge_lane(&self, lane: &BarLane) -> Arc<Self> ⓘ
pub fn bar(&self) -> Option<Arc<TabBar>>
pub fn tab(&self) -> Option<Arc<Tab>>
pub fn bar_props(&self) -> TabBarProps
pub fn get_entry_at<T, F: Fn(&LaneEntry) -> Option<T>>( &self, in_bar_pos: Units, predicate: &F, ) -> Option<T>
pub fn get_next_entry<T, F: Fn(&LaneEntry) -> Option<T>>( &self, in_bar_pos: Units, predicate: &F, ) -> Option<T>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BarLane
impl RefUnwindSafe for BarLane
impl Send for BarLane
impl Sync for BarLane
impl Unpin for BarLane
impl UnsafeUnpin for BarLane
impl UnwindSafe for BarLane
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