#[repr(C)]pub enum TextAlign {
Left = 1,
Centered = 2,
Right = 4,
Top = 8,
Middle = 16,
Bottom = 32,
}
Variants§
Trait Implementations§
Source§impl<'a> From<&'a u32> for &'a TextAlign
impl<'a> From<&'a u32> for &'a TextAlign
Source§fn from(a: &'a nk_text_align) -> &'a TextAlign
fn from(a: &'a nk_text_align) -> &'a TextAlign
Converts to this type from the input type.
Source§impl From<TextAlign> for nk_text_align
impl From<TextAlign> for nk_text_align
Source§fn from(a: TextAlign) -> nk_text_align
fn from(a: TextAlign) -> nk_text_align
Converts to this type from the input type.
Source§impl From<u32> for TextAlign
impl From<u32> for TextAlign
Source§fn from(a: nk_text_align) -> TextAlign
fn from(a: nk_text_align) -> TextAlign
Converts to this type from the input type.
impl Copy for TextAlign
impl Eq for TextAlign
impl StructuralPartialEq for TextAlign
Auto Trait Implementations§
impl Freeze for TextAlign
impl RefUnwindSafe for TextAlign
impl Send for TextAlign
impl Sync for TextAlign
impl Unpin for TextAlign
impl UnwindSafe for TextAlign
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