pub struct LayoutStyle {
pub width: Option<u32>,
pub height: Option<u32>,
pub padding: Insets,
pub gap: u32,
pub direction: FlowDirection,
pub overflow_hidden: bool,
}Fields§
§width: Option<u32>§height: Option<u32>§padding: Insets§gap: u32§direction: FlowDirectionTrait Implementations§
Source§impl Clone for LayoutStyle
impl Clone for LayoutStyle
Source§fn clone(&self) -> LayoutStyle
fn clone(&self) -> LayoutStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LayoutStyle
Source§impl Debug for LayoutStyle
impl Debug for LayoutStyle
Source§impl Default for LayoutStyle
impl Default for LayoutStyle
Source§impl<'de> Deserialize<'de> for LayoutStyle
impl<'de> Deserialize<'de> for LayoutStyle
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
impl Eq for LayoutStyle
Source§impl PartialEq for LayoutStyle
impl PartialEq for LayoutStyle
Source§impl Serialize for LayoutStyle
impl Serialize for LayoutStyle
impl StructuralPartialEq for LayoutStyle
Auto Trait Implementations§
impl Freeze for LayoutStyle
impl RefUnwindSafe for LayoutStyle
impl Send for LayoutStyle
impl Sync for LayoutStyle
impl Unpin for LayoutStyle
impl UnsafeUnpin for LayoutStyle
impl UnwindSafe for LayoutStyle
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