Enum PselpConnect
#[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§
§impl PselpConnect
impl PselpConnect
pub const fn from_bits(val: u8) -> PselpConnect
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for PselpConnect
impl Clone for PselpConnect
§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 more§impl From<u8> for PselpConnect
impl From<u8> for PselpConnect
§fn from(val: u8) -> PselpConnect
fn from(val: u8) -> PselpConnect
Converts to this type from the input type.
§impl Ord for PselpConnect
impl Ord for PselpConnect
§impl PartialEq for PselpConnect
impl PartialEq for PselpConnect
§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
)