#[repr(C)]pub enum StyleInitialLetterAlign {
Auto = 0,
Alphabetic = 1,
Hanging = 2,
Ideographic = 3,
}Expand description
Represents the initial-letter-align CSS property.
Specifies the alignment points used to align an initial letter.
Variants§
Auto = 0
Automatically determine alignment based on script
Alphabetic = 1
Align to the alphabetic baseline
Hanging = 2
Align to the hanging baseline
Ideographic = 3
Align to the ideographic baseline
Trait Implementations§
Source§impl Clone for StyleInitialLetterAlign
impl Clone for StyleInitialLetterAlign
Source§fn clone(&self) -> StyleInitialLetterAlign
fn clone(&self) -> StyleInitialLetterAlign
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StyleInitialLetterAlign
impl Debug for StyleInitialLetterAlign
Source§impl Default for StyleInitialLetterAlign
impl Default for StyleInitialLetterAlign
Source§fn default() -> StyleInitialLetterAlign
fn default() -> StyleInitialLetterAlign
Returns the “default value” for a type. Read more
Source§impl FormatAsRustCode for StyleInitialLetterAlign
impl FormatAsRustCode for StyleInitialLetterAlign
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl From<StyleInitialLetterAlign> for CssProperty
impl From<StyleInitialLetterAlign> for CssProperty
Source§fn from(e: StyleInitialLetterAlign) -> Self
fn from(e: StyleInitialLetterAlign) -> Self
Converts to this type from the input type.
Source§impl Hash for StyleInitialLetterAlign
impl Hash for StyleInitialLetterAlign
Source§impl Ord for StyleInitialLetterAlign
impl Ord for StyleInitialLetterAlign
Source§fn cmp(&self, other: &StyleInitialLetterAlign) -> Ordering
fn cmp(&self, other: &StyleInitialLetterAlign) -> Ordering
1.21.0 (const: unstable) · 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 StyleInitialLetterAlign
impl PartialEq for StyleInitialLetterAlign
Source§fn eq(&self, other: &StyleInitialLetterAlign) -> bool
fn eq(&self, other: &StyleInitialLetterAlign) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for StyleInitialLetterAlign
impl PartialOrd for StyleInitialLetterAlign
Source§impl PrintAsCssValue for StyleInitialLetterAlign
impl PrintAsCssValue for StyleInitialLetterAlign
fn print_as_css_value(&self) -> String
impl Copy for StyleInitialLetterAlign
impl Eq for StyleInitialLetterAlign
impl StructuralPartialEq for StyleInitialLetterAlign
Auto Trait Implementations§
impl Freeze for StyleInitialLetterAlign
impl RefUnwindSafe for StyleInitialLetterAlign
impl Send for StyleInitialLetterAlign
impl Sync for StyleInitialLetterAlign
impl Unpin for StyleInitialLetterAlign
impl UnsafeUnpin for StyleInitialLetterAlign
impl UnwindSafe for StyleInitialLetterAlign
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