Struct diagnostics2::ToolbarControls
source · pub struct ToolbarControls { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Render for ToolbarControls
impl Render for ToolbarControls
source§impl ToolbarItemView for ToolbarControls
impl ToolbarItemView for ToolbarControls
fn set_active_pane_item( &mut self, active_pane_item: Option<&dyn ItemHandle>, _: &mut ViewContext<'_, Self> ) -> ToolbarItemLocation
fn pane_focus_update( &mut self, _pane_focused: bool, _cx: &mut ViewContext<'_, Self> )
source§fn row_count(&self, _cx: &WindowContext<'_>) -> usize
fn row_count(&self, _cx: &WindowContext<'_>) -> usize
Number of times toolbar’s height will be repeated to get the effective height.
Useful when multiple rows one under each other are needed.
The rows have the same width and act as a whole when reacting to resizes and similar events.
impl EventEmitter<ToolbarItemEvent> for ToolbarControls
Auto Trait Implementations§
impl !RefUnwindSafe for ToolbarControls
impl Send for ToolbarControls
impl Sync for ToolbarControls
impl Unpin for ToolbarControls
impl !UnwindSafe for ToolbarControls
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