pub enum GroundKind {
Ground,
AnalogGround,
DigitalGround,
ChassisGround,
EarthGround,
Unknown,
Custom(String),
}Expand description
Common ground label vocabulary.
Variants§
Trait Implementations§
Source§impl Clone for GroundKind
impl Clone for GroundKind
Source§fn clone(&self) -> GroundKind
fn clone(&self) -> GroundKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GroundKind
impl Debug for GroundKind
Source§impl Display for GroundKind
impl Display for GroundKind
Source§impl FromStr for GroundKind
impl FromStr for GroundKind
Source§type Err = GroundKindParseError
type Err = GroundKindParseError
The associated error which can be returned from parsing.
Source§fn from_str(value: &str) -> Result<GroundKind, <GroundKind as FromStr>::Err>
fn from_str(value: &str) -> Result<GroundKind, <GroundKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for GroundKind
impl Hash for GroundKind
Source§impl Ord for GroundKind
impl Ord for GroundKind
Source§fn cmp(&self, other: &GroundKind) -> Ordering
fn cmp(&self, other: &GroundKind) -> Ordering
1.21.0 (const: unstable) · 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 GroundKind
impl PartialEq for GroundKind
Source§fn eq(&self, other: &GroundKind) -> bool
fn eq(&self, other: &GroundKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GroundKind
impl PartialOrd for GroundKind
impl Eq for GroundKind
impl StructuralPartialEq for GroundKind
Auto Trait Implementations§
impl Freeze for GroundKind
impl RefUnwindSafe for GroundKind
impl Send for GroundKind
impl Sync for GroundKind
impl Unpin for GroundKind
impl UnsafeUnpin for GroundKind
impl UnwindSafe for GroundKind
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