#[repr(usize)]pub enum NSTextAlignment {
Left = 0,
Right = 1,
Center = 2,
}Expand description
Constants that specify text alignment.
Variants§
Left = 0
Text is visually left aligned.
Right = 1
Text is visually right-aligned.
Center = 2
Text is visually center-aligned.
Auto Trait Implementations§
impl Freeze for NSTextAlignment
impl RefUnwindSafe for NSTextAlignment
impl Send for NSTextAlignment
impl Sync for NSTextAlignment
impl Unpin for NSTextAlignment
impl UnsafeUnpin for NSTextAlignment
impl UnwindSafe for NSTextAlignment
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