#[repr(C)]pub enum StyleTextAlign {
Left = 0,
Center = 1,
Right = 2,
}Expand description
Horizontal text alignment enum (left, center, right) - default: Center
Variants§
Trait Implementations§
Source§impl Clone for StyleTextAlign
impl Clone for StyleTextAlign
Source§fn clone(&self) -> StyleTextAlign
fn clone(&self) -> StyleTextAlign
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 StyleTextAlign
impl Debug for StyleTextAlign
Source§impl Default for StyleTextAlign
impl Default for StyleTextAlign
Source§impl From<StyleTextAlign> for CssProperty
impl From<StyleTextAlign> for CssProperty
Source§fn from(e: StyleTextAlign) -> Self
fn from(e: StyleTextAlign) -> Self
Converts to this type from the input type.
Source§impl Hash for StyleTextAlign
impl Hash for StyleTextAlign
Source§impl Ord for StyleTextAlign
impl Ord for StyleTextAlign
Source§fn cmp(&self, other: &StyleTextAlign) -> Ordering
fn cmp(&self, other: &StyleTextAlign) -> 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 StyleTextAlign
impl PartialEq for StyleTextAlign
Source§impl PartialOrd for StyleTextAlign
impl PartialOrd for StyleTextAlign
Source§impl PrintAsCssValue for StyleTextAlign
impl PrintAsCssValue for StyleTextAlign
fn print_as_css_value(&self) -> String
impl Copy for StyleTextAlign
impl Eq for StyleTextAlign
impl StructuralPartialEq for StyleTextAlign
Auto Trait Implementations§
impl Freeze for StyleTextAlign
impl RefUnwindSafe for StyleTextAlign
impl Send for StyleTextAlign
impl Sync for StyleTextAlign
impl Unpin for StyleTextAlign
impl UnwindSafe for StyleTextAlign
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