#[repr(C)]pub enum TextAlignment {
Left = 17,
Centered = 18,
Right = 20,
}
Variants§
Trait Implementations§
Source§impl Clone for TextAlignment
impl Clone for TextAlignment
Source§fn clone(&self) -> TextAlignment
fn clone(&self) -> TextAlignment
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> From<&'a u32> for &'a TextAlignment
impl<'a> From<&'a u32> for &'a TextAlignment
Source§fn from(a: &'a nk_text_alignment) -> &'a TextAlignment
fn from(a: &'a nk_text_alignment) -> &'a TextAlignment
Converts to this type from the input type.
Source§impl From<TextAlignment> for nk_text_alignment
impl From<TextAlignment> for nk_text_alignment
Source§fn from(a: TextAlignment) -> nk_text_alignment
fn from(a: TextAlignment) -> nk_text_alignment
Converts to this type from the input type.
Source§impl From<u32> for TextAlignment
impl From<u32> for TextAlignment
Source§fn from(a: nk_text_alignment) -> TextAlignment
fn from(a: nk_text_alignment) -> TextAlignment
Converts to this type from the input type.
Source§impl PartialEq for TextAlignment
impl PartialEq for TextAlignment
impl Copy for TextAlignment
impl Eq for TextAlignment
impl StructuralPartialEq for TextAlignment
Auto Trait Implementations§
impl Freeze for TextAlignment
impl RefUnwindSafe for TextAlignment
impl Send for TextAlignment
impl Sync for TextAlignment
impl Unpin for TextAlignment
impl UnwindSafe for TextAlignment
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