pub struct TabInfo<Input> {
pub name: LabelText<Input>,
pub can_close: bool,
}
Expand description
Information about a tab that may be used by the TabPolicy to drive the visual presentation and behaviour of its label
Fields§
§name: LabelText<Input>
Name of the tab
can_close: bool
Should the user be able to close the tab?
Implementations§
Auto Trait Implementations§
impl<Input> !RefUnwindSafe for TabInfo<Input>
impl<Input> !Send for TabInfo<Input>
impl<Input> !Sync for TabInfo<Input>
impl<Input> Unpin for TabInfo<Input>
impl<Input> !UnwindSafe for TabInfo<Input>
Blanket Implementations§
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.