pub struct GridConfig {
pub columns: u32,
pub row_height: u32,
pub gap: u32,
pub responsive_breakpoints: HashMap<String, u32>,
}
Expand description
Grid configuration
Fields§
§columns: u32
§row_height: u32
§gap: u32
§responsive_breakpoints: HashMap<String, u32>
Trait Implementations§
Source§impl Clone for GridConfig
impl Clone for GridConfig
Source§fn clone(&self) -> GridConfig
fn clone(&self) -> GridConfig
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 Debug for GridConfig
impl Debug for GridConfig
Source§impl Default for GridConfig
impl Default for GridConfig
Source§impl<'de> Deserialize<'de> for GridConfig
impl<'de> Deserialize<'de> for GridConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GridConfig
impl RefUnwindSafe for GridConfig
impl Send for GridConfig
impl Sync for GridConfig
impl Unpin for GridConfig
impl UnwindSafe for GridConfig
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