#[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§fn default() -> LayoutClear
fn default() -> LayoutClear
Returns the “default value” for a type. Read more
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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more