Skip to main content

CommandBarButtonProps

Trait CommandBarButtonProps 

Source
pub trait CommandBarButtonProps: ElementBuilder {
    // Provided methods
    fn label<M>(self, value: impl IntoProp<Option<String>, M>) -> Self { ... }
    fn icon<M>(self, value: impl IntoProp<Option<BoxedValue>, M>) -> Self { ... }
    fn is_compact<M>(self, value: impl IntoProp<bool, M>) -> Self { ... }
    fn dynamic_overflow_order<M>(self, value: impl IntoProp<i32, M>) -> Self { ... }
    fn label_position<M>(
        self,
        value: impl IntoProp<CommandBarDefaultLabelPosition, M>,
    ) -> Self { ... }
    fn is_in_overflow<M>(self, value: impl IntoProp<bool, M>) -> Self { ... }
}
Expand description

The properties and routed events of CommandBarButton.

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§