pub enum SemanticDecoration {
None,
BackgroundColor(Hex),
}Variants§
Trait Implementations§
Source§impl Clone for SemanticDecoration
impl Clone for SemanticDecoration
Source§fn clone(&self) -> SemanticDecoration
fn clone(&self) -> SemanticDecoration
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 SemanticDecoration
impl Debug for SemanticDecoration
Source§impl Hash for SemanticDecoration
impl Hash for SemanticDecoration
Source§impl Ord for SemanticDecoration
impl Ord for SemanticDecoration
Source§fn cmp(&self, other: &SemanticDecoration) -> Ordering
fn cmp(&self, other: &SemanticDecoration) -> 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 SemanticDecoration
impl PartialEq for SemanticDecoration
Source§impl PartialOrd for SemanticDecoration
impl PartialOrd for SemanticDecoration
impl Copy for SemanticDecoration
impl Eq for SemanticDecoration
impl StructuralPartialEq for SemanticDecoration
Auto Trait Implementations§
impl Freeze for SemanticDecoration
impl RefUnwindSafe for SemanticDecoration
impl Send for SemanticDecoration
impl Sync for SemanticDecoration
impl Unpin for SemanticDecoration
impl UnwindSafe for SemanticDecoration
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