pub enum TextLayoutGravity {
Start,
Center,
End,
}Variants§
Trait Implementations§
Source§impl Clone for TextLayoutGravity
impl Clone for TextLayoutGravity
Source§fn clone(&self) -> TextLayoutGravity
fn clone(&self) -> TextLayoutGravity
Returns a duplicate 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 TextLayoutGravity
impl Debug for TextLayoutGravity
Source§impl Default for TextLayoutGravity
impl Default for TextLayoutGravity
Source§impl Hash for TextLayoutGravity
impl Hash for TextLayoutGravity
Source§impl PartialEq for TextLayoutGravity
impl PartialEq for TextLayoutGravity
impl Copy for TextLayoutGravity
impl Eq for TextLayoutGravity
impl StructuralPartialEq for TextLayoutGravity
Auto Trait Implementations§
impl Freeze for TextLayoutGravity
impl RefUnwindSafe for TextLayoutGravity
impl Send for TextLayoutGravity
impl Sync for TextLayoutGravity
impl Unpin for TextLayoutGravity
impl UnwindSafe for TextLayoutGravity
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
Source§impl<T> CallHasher for T
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more