pub struct CommandBar { /* private fields */ }Implementations§
Source§impl CommandBar
impl CommandBar
pub fn owned_commands( self, primary: impl IntoIterator<Item = CommandBarCommand>, secondary: impl IntoIterator<Item = CommandBarCommand>, on_click: impl IntoPayloadCallback<String>, ) -> View
Source§impl CommandBar
impl CommandBar
Trait Implementations§
Source§impl Clone for CommandBar
impl Clone for CommandBar
Source§fn clone(&self) -> CommandBar
fn clone(&self) -> CommandBar
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommandBar
impl Debug for CommandBar
Source§impl Default for CommandBar
impl Default for CommandBar
Source§fn default() -> CommandBar
fn default() -> CommandBar
Returns the “default value” for a type. Read more
Source§impl From<CommandBar> for View
impl From<CommandBar> for View
Source§fn from(value: CommandBar) -> Self
fn from(value: CommandBar) -> Self
Converts to this type from the input type.
Source§impl LayoutControl for CommandBar
impl LayoutControl for CommandBar
fn width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn min_width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn max_width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn min_height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn max_height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn opacity(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn horizontal_alignment(
self,
value: impl Into<Option<HorizontalAlignment>>,
) -> Selfwhere
Self: Sized,
fn vertical_alignment(self, value: impl Into<Option<VerticalAlignment>>) -> Selfwhere
Self: Sized,
fn margin(self, value: impl Into<Thickness>) -> Selfwhere
Self: Sized,
fn margin_optional<T>(self, value: Option<T>) -> Self
fn exit_transition(self, transition: ExitTransition) -> Selfwhere
Self: Sized,
Source§impl PartialEq for CommandBar
impl PartialEq for CommandBar
Source§impl SlotsControl for CommandBar
impl SlotsControl for CommandBar
impl StructuralPartialEq for CommandBar
Auto Trait Implementations§
impl !Send for CommandBar
impl !Sync for CommandBar
impl Freeze for CommandBar
impl RefUnwindSafe for CommandBar
impl Unpin for CommandBar
impl UnsafeUnpin for CommandBar
impl UnwindSafe for CommandBar
Blanket Implementations§
Source§impl<T> AutomationExt for Twhere
T: LayoutControl,
impl<T> AutomationExt for Twhere
T: LayoutControl,
fn automation_name(self, value: impl Into<String>) -> Self
fn automation_id(self, value: impl Into<String>) -> Self
fn automation_heading_level(self, value: AutomationHeadingLevel) -> Self
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