pub enum LayoutSpec {
Absolute,
Stack {
axis: Axis,
gap: f32,
padding: EdgeInsets,
align: Align,
},
Fixed(Size),
}Variants§
Trait Implementations§
Source§impl Clone for LayoutSpec
impl Clone for LayoutSpec
Source§fn clone(&self) -> LayoutSpec
fn clone(&self) -> LayoutSpec
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 LayoutSpec
Source§impl Debug for LayoutSpec
impl Debug for LayoutSpec
Source§impl Default for LayoutSpec
impl Default for LayoutSpec
impl Eq for LayoutSpec
Source§impl Hash for LayoutSpec
impl Hash for LayoutSpec
Source§impl PartialEq for LayoutSpec
impl PartialEq for LayoutSpec
impl StructuralPartialEq for LayoutSpec
Auto Trait Implementations§
impl Freeze for LayoutSpec
impl RefUnwindSafe for LayoutSpec
impl Send for LayoutSpec
impl Sync for LayoutSpec
impl Unpin for LayoutSpec
impl UnsafeUnpin for LayoutSpec
impl UnwindSafe for LayoutSpec
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