pub struct LayoutMetadata {
pub mode: LayoutMode,
pub primary_align: Align,
pub cross_align: Align,
pub item_spacing: f32,
pub padding: Padding,
}Fields§
§mode: LayoutMode§primary_align: Align§cross_align: Align§item_spacing: f32§padding: PaddingTrait Implementations§
Source§impl Clone for LayoutMetadata
impl Clone for LayoutMetadata
Source§fn clone(&self) -> LayoutMetadata
fn clone(&self) -> LayoutMetadata
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 LayoutMetadata
impl Debug for LayoutMetadata
Source§impl<'de> Deserialize<'de> for LayoutMetadata
impl<'de> Deserialize<'de> for LayoutMetadata
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 LayoutMetadata
impl PartialEq for LayoutMetadata
Source§impl Serialize for LayoutMetadata
impl Serialize for LayoutMetadata
impl StructuralPartialEq for LayoutMetadata
Auto Trait Implementations§
impl Freeze for LayoutMetadata
impl RefUnwindSafe for LayoutMetadata
impl Send for LayoutMetadata
impl Sync for LayoutMetadata
impl Unpin for LayoutMetadata
impl UnsafeUnpin for LayoutMetadata
impl UnwindSafe for LayoutMetadata
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