Enum freya_engine::prelude::TextAlign
#[repr(i32)]pub enum TextAlign {
Left = 0,
Right = 1,
Center = 2,
Justify = 3,
Start = 4,
End = 5,
}
Variants§
Trait Implementations§
§impl Clone for skia_textlayout_TextAlign
impl Clone for skia_textlayout_TextAlign
§fn clone(&self) -> skia_textlayout_TextAlign
fn clone(&self) -> skia_textlayout_TextAlign
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 more§impl Debug for skia_textlayout_TextAlign
impl Debug for skia_textlayout_TextAlign
§impl Default for skia_textlayout_TextAlign
impl Default for skia_textlayout_TextAlign
§fn default() -> skia_textlayout_TextAlign
fn default() -> skia_textlayout_TextAlign
Returns the “default value” for a type. Read more
§impl Hash for skia_textlayout_TextAlign
impl Hash for skia_textlayout_TextAlign
§impl PartialEq for skia_textlayout_TextAlign
impl PartialEq for skia_textlayout_TextAlign
§fn eq(&self, other: &skia_textlayout_TextAlign) -> bool
fn eq(&self, other: &skia_textlayout_TextAlign) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for skia_textlayout_TextAlign
impl Eq for skia_textlayout_TextAlign
impl StructuralEq for skia_textlayout_TextAlign
impl StructuralPartialEq for skia_textlayout_TextAlign
Auto Trait Implementations§
impl RefUnwindSafe for skia_textlayout_TextAlign
impl Send for skia_textlayout_TextAlign
impl Sync for skia_textlayout_TextAlign
impl Unpin for skia_textlayout_TextAlign
impl UnwindSafe for skia_textlayout_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