pub enum SignalDirection {
Long,
Short,
Neutral,
Unknown,
Custom(String),
}Expand description
Descriptive signal direction vocabulary.
Variants§
Long
Long direction vocabulary.
Short
Short direction vocabulary.
Neutral
Neutral direction vocabulary.
Unknown
Unknown direction vocabulary.
Custom(String)
Caller-defined direction vocabulary.
Trait Implementations§
Source§impl Clone for SignalDirection
impl Clone for SignalDirection
Source§fn clone(&self) -> SignalDirection
fn clone(&self) -> SignalDirection
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 SignalDirection
impl Debug for SignalDirection
Source§impl Display for SignalDirection
impl Display for SignalDirection
Source§impl FromStr for SignalDirection
impl FromStr for SignalDirection
Source§impl Hash for SignalDirection
impl Hash for SignalDirection
Source§impl Ord for SignalDirection
impl Ord for SignalDirection
Source§fn cmp(&self, other: &SignalDirection) -> Ordering
fn cmp(&self, other: &SignalDirection) -> 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 SignalDirection
impl PartialEq for SignalDirection
Source§impl PartialOrd for SignalDirection
impl PartialOrd for SignalDirection
impl Eq for SignalDirection
impl StructuralPartialEq for SignalDirection
Auto Trait Implementations§
impl Freeze for SignalDirection
impl RefUnwindSafe for SignalDirection
impl Send for SignalDirection
impl Sync for SignalDirection
impl Unpin for SignalDirection
impl UnsafeUnpin for SignalDirection
impl UnwindSafe for SignalDirection
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