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>,
}
Fields§
§class: String
CSS class
children: Children
Children
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 duplicate 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§impl Properties for ColumnProps
impl Properties for ColumnProps
impl StructuralPartialEq for ColumnProps
Auto Trait Implementations§
impl Freeze for ColumnProps
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.