Struct patternfly_yew::components::toolbar::ToolbarItemProperties
source · pub struct ToolbarItemProperties {
pub id: Option<AttrValue>,
pub children: Html,
pub modifiers: WithBreakpoints<ToolbarElementModifier>,
pub type: ToolbarItemType,
pub width: WithBreakpoints<String>,
pub min_width: WithBreakpoints<String>,
pub class: Classes,
}
Fields§
§id: Option<AttrValue>
§children: Html
§modifiers: WithBreakpoints<ToolbarElementModifier>
§type: ToolbarItemType
§width: WithBreakpoints<String>
Control the width of the item
min_width: WithBreakpoints<String>
Control the minimal width of the item
class: Classes
Additional classes
Trait Implementations§
source§impl Clone for ToolbarItemProperties
impl Clone for ToolbarItemProperties
source§fn clone(&self) -> ToolbarItemProperties
fn clone(&self) -> ToolbarItemProperties
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<ToolbarItemProperties> for ToolbarChild
impl From<ToolbarItemProperties> for ToolbarChild
source§fn from(props: ToolbarItemProperties) -> Self
fn from(props: ToolbarItemProperties) -> Self
Converts to this type from the input type.
source§impl PartialEq for ToolbarItemProperties
impl PartialEq for ToolbarItemProperties
source§fn eq(&self, other: &ToolbarItemProperties) -> bool
fn eq(&self, other: &ToolbarItemProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Properties for ToolbarItemProperties
impl Properties for ToolbarItemProperties
impl StructuralPartialEq for ToolbarItemProperties
Auto Trait Implementations§
impl Freeze for ToolbarItemProperties
impl !RefUnwindSafe for ToolbarItemProperties
impl !Send for ToolbarItemProperties
impl !Sync for ToolbarItemProperties
impl Unpin for ToolbarItemProperties
impl !UnwindSafe for ToolbarItemProperties
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.