pub enum Position {
Stretch,
Left,
Center,
Right,
}Expand description
Controls the position of a node relative to its parent.
Variants§
Stretch
The child is stretched to fill the parent.
Left
The child is positioned at the left edge of the parent.
Center
The child is positioned at the center of the parent.
Right
The child is positioned at the right edge of the parent.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Position
impl RefUnwindSafe for Position
impl Send for Position
impl Sync for Position
impl Unpin for Position
impl UnwindSafe for Position
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