pub enum StyleTextAlignmentHorz {
Left,
Center,
Right,
}
Expand description
Horizontal text alignment enum (left, center, right) - default: Center
Variants§
Trait Implementations§
Source§impl Clone for StyleTextAlignmentHorz
impl Clone for StyleTextAlignmentHorz
Source§fn clone(&self) -> StyleTextAlignmentHorz
fn clone(&self) -> StyleTextAlignmentHorz
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 StyleTextAlignmentHorz
impl Debug for StyleTextAlignmentHorz
Source§impl Default for StyleTextAlignmentHorz
impl Default for StyleTextAlignmentHorz
Source§impl From<StyleTextAlignmentHorz> for CssProperty
impl From<StyleTextAlignmentHorz> for CssProperty
Source§fn from(e: StyleTextAlignmentHorz) -> Self
fn from(e: StyleTextAlignmentHorz) -> Self
Converts to this type from the input type.
Source§impl Hash for StyleTextAlignmentHorz
impl Hash for StyleTextAlignmentHorz
Source§impl Ord for StyleTextAlignmentHorz
impl Ord for StyleTextAlignmentHorz
Source§fn cmp(&self, other: &StyleTextAlignmentHorz) -> Ordering
fn cmp(&self, other: &StyleTextAlignmentHorz) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StyleTextAlignmentHorz
impl PartialEq for StyleTextAlignmentHorz
Source§impl PartialOrd for StyleTextAlignmentHorz
impl PartialOrd for StyleTextAlignmentHorz
impl Copy for StyleTextAlignmentHorz
impl Eq for StyleTextAlignmentHorz
impl StructuralPartialEq for StyleTextAlignmentHorz
Auto Trait Implementations§
impl Freeze for StyleTextAlignmentHorz
impl RefUnwindSafe for StyleTextAlignmentHorz
impl Send for StyleTextAlignmentHorz
impl Sync for StyleTextAlignmentHorz
impl Unpin for StyleTextAlignmentHorz
impl UnwindSafe for StyleTextAlignmentHorz
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)