pub struct GridLayoutProps {
pub layout: UseStateHandle<Vec<LayoutItem>>,
pub cols: i32,
pub row_height: f32,
pub margin: (i32, i32),
pub compaction: CompactionType,
pub keyboard_cell_nudge: bool,
pub render_item: Callback<LayoutItem, Html>,
}Fields§
§layout: UseStateHandle<Vec<LayoutItem>>§cols: i32§row_height: f32§margin: (i32, i32)§compaction: CompactionType§keyboard_cell_nudge: bool§render_item: Callback<LayoutItem, Html>Trait Implementations§
Source§impl Clone for GridLayoutProps
impl Clone for GridLayoutProps
Source§fn clone(&self) -> GridLayoutProps
fn clone(&self) -> GridLayoutProps
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 GridLayoutProps
impl PartialEq for GridLayoutProps
Source§impl Properties for GridLayoutProps
impl Properties for GridLayoutProps
impl StructuralPartialEq for GridLayoutProps
Auto Trait Implementations§
impl Freeze for GridLayoutProps
impl !RefUnwindSafe for GridLayoutProps
impl !Send for GridLayoutProps
impl !Sync for GridLayoutProps
impl Unpin for GridLayoutProps
impl UnsafeUnpin for GridLayoutProps
impl !UnwindSafe for GridLayoutProps
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.