pub enum LayoutConstraintVertical {
Top,
Bottom,
Center,
TopBottom,
Scale,
}Variants§
Top
Node is laid out relative to top of the containing frame
Bottom
Node is laid out relative to bottom of the containing frame
Center
Node is vertically centered relative to containing frame
TopBottom
Both top and bottom of node are constrained relative to containing frame (node stretches with frame)
Scale
Node scales vertically with containing frame
Trait Implementations§
Source§impl Debug for LayoutConstraintVertical
impl Debug for LayoutConstraintVertical
Source§impl<'de> Deserialize<'de> for LayoutConstraintVertical
impl<'de> Deserialize<'de> for LayoutConstraintVertical
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 LayoutConstraintVertical
impl RefUnwindSafe for LayoutConstraintVertical
impl Send for LayoutConstraintVertical
impl Sync for LayoutConstraintVertical
impl Unpin for LayoutConstraintVertical
impl UnwindSafe for LayoutConstraintVertical
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