#[non_exhaustive]pub enum Characteristic {
Send,
Sync,
Copy,
Eq,
Clone,
Debug,
PartialEq,
PartialOrd,
Ord,
Hash,
Default,
}Expand description
A characteristic a shape can have
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Send
Implements Send
Sync
Implements Sync
Copy
Implements Copy
Eq
Implements Eq
Clone
Implements Clone
Debug
Implements Debug
PartialEq
Implements PartialEq
PartialOrd
Implements PartialOrd
Ord
Implements Ord
Hash
Implements Hash
Default
Implements Default
Implementations§
Trait Implementations§
Source§impl Clone for Characteristic
impl Clone for Characteristic
Source§fn clone(&self) -> Characteristic
fn clone(&self) -> Characteristic
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 Characteristic
impl Debug for Characteristic
Source§impl Hash for Characteristic
impl Hash for Characteristic
Source§impl PartialEq for Characteristic
impl PartialEq for Characteristic
impl Copy for Characteristic
impl Eq for Characteristic
impl StructuralPartialEq for Characteristic
Auto Trait Implementations§
impl Freeze for Characteristic
impl RefUnwindSafe for Characteristic
impl Send for Characteristic
impl Sync for Characteristic
impl Unpin for Characteristic
impl UnwindSafe for Characteristic
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