pub struct TabBar {
    pub tab: Weak<Tab>,
    pub section: Arc<Section>,
    pub lanes: HashMap<(LaneKind, usize), Arc<BarLane>>,
    pub proto: Arc<Bar>,
    pub props: TabBarProps,
}

Fields

tab: Weak<Tab>section: Arc<Section>lanes: HashMap<(LaneKind, usize), Arc<BarLane>>proto: Arc<Bar>props: TabBarProps

Implementations

pub fn get_next_entry<T, F: Fn(&LaneEntry) -> Option<T>>(
    &self,
    in_bar_pos: Units,
    predicate: &F
) -> Option<T>

pub fn get_entry_in_other_lane<T, F: Fn(&LaneEntry) -> Option<T>>(
    &self,
    lane_kind: LaneKind,
    track_index: Option<usize>,
    in_bar_pos: Option<Units>,
    predicate: &F
) -> Option<T>

pub fn get_chord_of_entry(&self, entry: &LaneEntry) -> Option<Chord>

pub fn get_entry_in_lanes<T, F: Fn(&LaneEntry) -> Option<T>>(
    &self,
    predicate: &F
) -> Option<T>

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.