Enum PselnConnect
#[repr(u8)]pub enum PselnConnect {
NC = 0,
ANALOG_INPUT = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
}
Variants§
Implementations§
§impl PselnConnect
impl PselnConnect
pub const fn from_bits(val: u8) -> PselnConnect
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for PselnConnect
impl Clone for PselnConnect
§fn clone(&self) -> PselnConnect
fn clone(&self) -> PselnConnect
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 more§impl From<u8> for PselnConnect
impl From<u8> for PselnConnect
§fn from(val: u8) -> PselnConnect
fn from(val: u8) -> PselnConnect
Converts to this type from the input type.
§impl Ord for PselnConnect
impl Ord for PselnConnect
§impl PartialEq for PselnConnect
impl PartialEq for PselnConnect
§impl PartialOrd for PselnConnect
impl PartialOrd for PselnConnect
impl Copy for PselnConnect
impl Eq for PselnConnect
impl StructuralPartialEq for PselnConnect
Auto Trait Implementations§
impl Freeze for PselnConnect
impl RefUnwindSafe for PselnConnect
impl Send for PselnConnect
impl Sync for PselnConnect
impl Unpin for PselnConnect
impl UnwindSafe for PselnConnect
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)