#[repr(u8)]pub enum PselpConnect {
NC = 0,
ANALOG_INPUT = 1,
INTERNAL = 2,
_RESERVED_3 = 3,
}
Variants§
NC = 0
Not connected
ANALOG_INPUT = 1
Select analog input
INTERNAL = 2
Selects internal inputs.
_RESERVED_3 = 3
Implementations§
Source§impl PselpConnect
impl PselpConnect
Trait Implementations§
Source§impl Clone for PselpConnect
impl Clone for PselpConnect
Source§fn clone(&self) -> PselpConnect
fn clone(&self) -> PselpConnect
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 From<PselpConnect> for u8
impl From<PselpConnect> for u8
Source§fn from(val: PselpConnect) -> u8
fn from(val: PselpConnect) -> u8
Converts to this type from the input type.
Source§impl From<u8> for PselpConnect
impl From<u8> for PselpConnect
Source§fn from(val: u8) -> PselpConnect
fn from(val: u8) -> PselpConnect
Converts to this type from the input type.
Source§impl Ord for PselpConnect
impl Ord for PselpConnect
Source§fn cmp(&self, other: &PselpConnect) -> Ordering
fn cmp(&self, other: &PselpConnect) -> 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 PselpConnect
impl PartialEq for PselpConnect
Source§impl PartialOrd for PselpConnect
impl PartialOrd for PselpConnect
impl Copy for PselpConnect
impl Eq for PselpConnect
impl StructuralPartialEq for PselpConnect
Auto Trait Implementations§
impl Freeze for PselpConnect
impl RefUnwindSafe for PselpConnect
impl Send for PselpConnect
impl Sync for PselpConnect
impl Unpin for PselpConnect
impl UnwindSafe for PselpConnect
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
)