#[non_exhaustive]pub enum SignalVoltage {
V330,
V180,
V120,
}Expand description
Bus signaling voltage.
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.
Trait Implementations§
Source§impl Clone for SignalVoltage
impl Clone for SignalVoltage
Source§fn clone(&self) -> SignalVoltage
fn clone(&self) -> SignalVoltage
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 moreimpl Copy for SignalVoltage
Source§impl Debug for SignalVoltage
impl Debug for SignalVoltage
impl Eq for SignalVoltage
Source§impl PartialEq for SignalVoltage
impl PartialEq for SignalVoltage
Source§fn eq(&self, other: &SignalVoltage) -> bool
fn eq(&self, other: &SignalVoltage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SignalVoltage
Auto Trait Implementations§
impl Freeze for SignalVoltage
impl RefUnwindSafe for SignalVoltage
impl Send for SignalVoltage
impl Sync for SignalVoltage
impl Unpin for SignalVoltage
impl UnsafeUnpin for SignalVoltage
impl UnwindSafe for SignalVoltage
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