Enum mltg::TextAlignment
source · #[repr(i32)]pub enum TextAlignment {
Leading,
Center,
Trailing,
Justified,
}
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 Debug for TextAlignment
impl Debug for TextAlignment
source§impl From<DWRITE_TEXT_ALIGNMENT> for TextAlignment
impl From<DWRITE_TEXT_ALIGNMENT> for TextAlignment
source§fn from(src: DWRITE_TEXT_ALIGNMENT) -> Self
fn from(src: DWRITE_TEXT_ALIGNMENT) -> Self
Converts to this type from the input type.
source§impl PartialEq<TextAlignment> for TextAlignment
impl PartialEq<TextAlignment> for TextAlignment
source§fn eq(&self, other: &TextAlignment) -> bool
fn eq(&self, other: &TextAlignment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TextAlignment
impl Eq for TextAlignment
impl StructuralEq for TextAlignment
impl StructuralPartialEq for TextAlignment
Auto Trait Implementations§
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