Struct yew_bootstrap::component::ColumnProps
source · pub struct ColumnProps {
pub class: String,
pub children: Children,
pub size: Option<u8>,
pub sm: Option<u8>,
pub md: Option<u8>,
pub lg: Option<u8>,
pub xl: Option<u8>,
pub xxl: Option<u8>,
pub onclick: Callback<MouseEvent>,
}Expand description
Fields§
§class: StringCSS class
children: ChildrenChildren
size: Option<u8>Default size (Out of 12)
sm: Option<u8>Size (out of 12) for small screens
md: Option<u8>Size (out of 12) for medium screens
lg: Option<u8>Size (out of 12) for large screens
xl: Option<u8>Size (out of 12) for very large screens
xxl: Option<u8>Size (out of 12) for very very large screens
onclick: Callback<MouseEvent>Event called when the element is clicked
Trait Implementations§
source§impl Clone for ColumnProps
impl Clone for ColumnProps
source§fn clone(&self) -> ColumnProps
fn clone(&self) -> ColumnProps
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 PartialEq for ColumnProps
impl PartialEq for ColumnProps
source§fn eq(&self, other: &ColumnProps) -> bool
fn eq(&self, other: &ColumnProps) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Properties for ColumnProps
impl Properties for ColumnProps
impl StructuralPartialEq for ColumnProps
Auto Trait Implementations§
impl !RefUnwindSafe for ColumnProps
impl !Send for ColumnProps
impl !Sync for ColumnProps
impl Unpin for ColumnProps
impl !UnwindSafe for ColumnProps
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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.