pub struct GridAttributes {
pub columns: u32,
pub spacing: Option<f32>,
pub padding: Option<f32>,
}Fields§
§columns: u32§spacing: Option<f32>§padding: Option<f32>Trait Implementations§
Source§impl Clone for GridAttributes
impl Clone for GridAttributes
Source§fn clone(&self) -> GridAttributes
fn clone(&self) -> GridAttributes
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 GridAttributes
impl Debug for GridAttributes
Source§impl<'de> Deserialize<'de> for GridAttributes
impl<'de> Deserialize<'de> for GridAttributes
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
Source§impl PartialEq for GridAttributes
impl PartialEq for GridAttributes
Source§impl Serialize for GridAttributes
impl Serialize for GridAttributes
impl StructuralPartialEq for GridAttributes
Auto Trait Implementations§
impl Freeze for GridAttributes
impl RefUnwindSafe for GridAttributes
impl Send for GridAttributes
impl Sync for GridAttributes
impl Unpin for GridAttributes
impl UnwindSafe for GridAttributes
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