#[repr(C)]pub enum StyleFontStyle {
Normal = 0,
Italic = 1,
Oblique = 2,
}Expand description
Represents the font-style property.
Variants§
Trait Implementations§
Source§impl Clone for StyleFontStyle
impl Clone for StyleFontStyle
Source§fn clone(&self) -> StyleFontStyle
fn clone(&self) -> StyleFontStyle
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 StyleFontStyle
impl Debug for StyleFontStyle
Source§impl Default for StyleFontStyle
impl Default for StyleFontStyle
Source§impl FormatAsRustCode for StyleFontStyle
impl FormatAsRustCode for StyleFontStyle
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl Hash for StyleFontStyle
impl Hash for StyleFontStyle
Source§impl Ord for StyleFontStyle
impl Ord for StyleFontStyle
Source§fn cmp(&self, other: &StyleFontStyle) -> Ordering
fn cmp(&self, other: &StyleFontStyle) -> 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 StyleFontStyle
impl PartialEq for StyleFontStyle
Source§impl PartialOrd for StyleFontStyle
impl PartialOrd for StyleFontStyle
Source§impl PrintAsCssValue for StyleFontStyle
impl PrintAsCssValue for StyleFontStyle
fn print_as_css_value(&self) -> String
impl Copy for StyleFontStyle
impl Eq for StyleFontStyle
impl StructuralPartialEq for StyleFontStyle
Auto Trait Implementations§
impl Freeze for StyleFontStyle
impl RefUnwindSafe for StyleFontStyle
impl Send for StyleFontStyle
impl Sync for StyleFontStyle
impl Unpin for StyleFontStyle
impl UnwindSafe for StyleFontStyle
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