#[repr(C)]pub enum StyleWhiteSpace {
Normal = 0,
Pre = 1,
Nowrap = 2,
}Expand description
How to handle white space inside an element.
Variants§
Trait Implementations§
Source§impl Clone for StyleWhiteSpace
impl Clone for StyleWhiteSpace
Source§fn clone(&self) -> StyleWhiteSpace
fn clone(&self) -> StyleWhiteSpace
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 StyleWhiteSpace
impl Debug for StyleWhiteSpace
Source§impl Default for StyleWhiteSpace
impl Default for StyleWhiteSpace
Source§impl FormatAsRustCode for StyleWhiteSpace
impl FormatAsRustCode for StyleWhiteSpace
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl From<StyleWhiteSpace> for CssProperty
impl From<StyleWhiteSpace> for CssProperty
Source§fn from(e: StyleWhiteSpace) -> Self
fn from(e: StyleWhiteSpace) -> Self
Converts to this type from the input type.
Source§impl Hash for StyleWhiteSpace
impl Hash for StyleWhiteSpace
Source§impl Ord for StyleWhiteSpace
impl Ord for StyleWhiteSpace
Source§fn cmp(&self, other: &StyleWhiteSpace) -> Ordering
fn cmp(&self, other: &StyleWhiteSpace) -> 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 StyleWhiteSpace
impl PartialEq for StyleWhiteSpace
Source§impl PartialOrd for StyleWhiteSpace
impl PartialOrd for StyleWhiteSpace
Source§impl PrintAsCssValue for StyleWhiteSpace
impl PrintAsCssValue for StyleWhiteSpace
fn print_as_css_value(&self) -> String
impl Copy for StyleWhiteSpace
impl Eq for StyleWhiteSpace
impl StructuralPartialEq for StyleWhiteSpace
Auto Trait Implementations§
impl Freeze for StyleWhiteSpace
impl RefUnwindSafe for StyleWhiteSpace
impl Send for StyleWhiteSpace
impl Sync for StyleWhiteSpace
impl Unpin for StyleWhiteSpace
impl UnwindSafe for StyleWhiteSpace
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