pub enum LayoutConstraintHorizontal {
Left,
Right,
Center,
LeftRight,
Scale,
}Variants§
Left
Node is laid out relative to left of the containing frame
Right
Node is laid out relative to right of the containing frame
Center
Node is horizontally centered relative to containing frame
LeftRight
Both left and right of node are constrained relative to containing frame (node stretches with frame)
Scale
Node scales horizontally with containing frame
Trait Implementations§
Source§impl Debug for LayoutConstraintHorizontal
impl Debug for LayoutConstraintHorizontal
Source§impl<'de> Deserialize<'de> for LayoutConstraintHorizontal
impl<'de> Deserialize<'de> for LayoutConstraintHorizontal
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 LayoutConstraintHorizontal
impl RefUnwindSafe for LayoutConstraintHorizontal
impl Send for LayoutConstraintHorizontal
impl Sync for LayoutConstraintHorizontal
impl Unpin for LayoutConstraintHorizontal
impl UnwindSafe for LayoutConstraintHorizontal
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