Enum PselpConnect
#[repr(u8)]pub enum PselpConnect {
Nc = 0,
AnalogInput = 1,
Internal = 2,
_RESERVED_3 = 3,
}Variants§
Nc = 0
Not connected.
AnalogInput = 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 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 PselpConnect
§impl Debug for PselpConnect
impl Debug for PselpConnect
impl Eq for PselpConnect
§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
§fn cmp(&self, other: &PselpConnect) -> Ordering
fn cmp(&self, other: &PselpConnect) -> Ordering
1.21.0 (const: unstable) · 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
§impl PartialEq for PselpConnect
impl PartialEq for PselpConnect
§impl PartialOrd for PselpConnect
impl PartialOrd 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 UnsafeUnpin 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