#[repr(C)]pub enum LayoutClear {
None = 0,
Left = 1,
Right = 2,
Both = 3,
}Expand description
Represents a clear attribute
Variants§
Trait Implementations§
Source§impl Clone for LayoutClear
impl Clone for LayoutClear
Source§fn clone(&self) -> LayoutClear
fn clone(&self) -> LayoutClear
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 LayoutClear
impl Debug for LayoutClear
Source§impl Default for LayoutClear
impl Default for LayoutClear
Source§impl Display for LayoutClear
impl Display for LayoutClear
Source§impl FormatAsRustCode for LayoutClear
impl FormatAsRustCode for LayoutClear
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl From<LayoutClear> for CssProperty
impl From<LayoutClear> for CssProperty
Source§fn from(e: LayoutClear) -> Self
fn from(e: LayoutClear) -> Self
Converts to this type from the input type.
Source§impl Hash for LayoutClear
impl Hash for LayoutClear
Source§impl Ord for LayoutClear
impl Ord for LayoutClear
Source§fn cmp(&self, other: &LayoutClear) -> Ordering
fn cmp(&self, other: &LayoutClear) -> 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 LayoutClear
impl PartialEq for LayoutClear
Source§impl PartialOrd for LayoutClear
impl PartialOrd for LayoutClear
Source§impl PrintAsCssValue for LayoutClear
impl PrintAsCssValue for LayoutClear
fn print_as_css_value(&self) -> String
impl Copy for LayoutClear
impl Eq for LayoutClear
impl StructuralPartialEq for LayoutClear
Auto Trait Implementations§
impl Freeze for LayoutClear
impl RefUnwindSafe for LayoutClear
impl Send for LayoutClear
impl Sync for LayoutClear
impl Unpin for LayoutClear
impl UnwindSafe for LayoutClear
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