#[non_exhaustive]#[repr(C)]pub enum Characteristic {
Show 14 variants
Send = 0,
Sync = 1,
Copy = 2,
Eq = 3,
Unpin = 4,
Clone = 5,
Display = 6,
Debug = 7,
PartialEq = 8,
PartialOrd = 9,
Ord = 10,
Hash = 11,
Default = 12,
FromStr = 13,
}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 = 0
Implements Send
Sync = 1
Implements Sync
Copy = 2
Implements Copy
Eq = 3
Implements Eq
Unpin = 4
Implements Unpin
Clone = 5
Implements Clone
Display = 6
Implements Display
Debug = 7
Implements Debug
PartialEq = 8
Implements PartialEq
PartialOrd = 9
Implements PartialOrd
Ord = 10
Implements Ord
Hash = 11
Implements Hash
Default = 12
Implements Default
FromStr = 13
Implements FromStr
Implementations§
Trait Implementations§
Source§impl Clone for Characteristic
impl Clone for Characteristic
Source§fn clone(&self) -> Characteristic
fn clone(&self) -> Characteristic
Returns a copy 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