Struct arcdps_imgui::TabBar
source · pub struct TabBar<T> { /* private fields */ }
Expand description
Builder for a tab bar.
Implementations§
source§impl<T: AsRef<str>> TabBar<T>
impl<T: AsRef<str>> TabBar<T>
pub fn new(id: T) -> Self
sourcepub fn reorderable(self, value: bool) -> Self
pub fn reorderable(self, value: bool) -> Self
Enable/Disable the reorderable property
Disabled by default
sourcepub fn flags(self, flags: TabBarFlags) -> Self
pub fn flags(self, flags: TabBarFlags) -> Self
Set the flags of the tab bar.
Flags are empty by default
pub fn begin<'ui>(self, ui: &'ui Ui<'_>) -> Option<TabBarToken<'ui>>
Auto Trait Implementations§
impl<T> Freeze for TabBar<T>where
T: Freeze,
impl<T> RefUnwindSafe for TabBar<T>where
T: RefUnwindSafe,
impl<T> Send for TabBar<T>where
T: Send,
impl<T> Sync for TabBar<T>where
T: Sync,
impl<T> Unpin for TabBar<T>where
T: Unpin,
impl<T> UnwindSafe for TabBar<T>where
T: UnwindSafe,
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