pub enum Position {
Start,
Center,
End,
}Expand description
Horizontal and vertical positioning.
Variantsยง
Start
Align to the start (left/top).
Center
Align to center.
End
Align to the end (right/bottom).
Implementationsยง
Trait Implementationsยง
impl Copy for Position
impl Eq for Position
impl StructuralPartialEq for Position
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ยง
ยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
ยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
ยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
ยงunsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit)