#[repr(u8)]pub enum XpulPullUp {
XPUL_PULL_UP_0 = 0,
XPUL_PULL_UP_1 = 1,
}Variants§
Implementations§
Source§impl XpulPullUp
impl XpulPullUp
Trait Implementations§
Source§impl Clone for XpulPullUp
impl Clone for XpulPullUp
Source§fn clone(&self) -> XpulPullUp
fn clone(&self) -> XpulPullUp
Returns a duplicate 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 Debug for XpulPullUp
impl Debug for XpulPullUp
Source§impl From<XpulPullUp> for u8
impl From<XpulPullUp> for u8
Source§fn from(val: XpulPullUp) -> u8
fn from(val: XpulPullUp) -> u8
Converts to this type from the input type.
Source§impl From<u8> for XpulPullUp
impl From<u8> for XpulPullUp
Source§fn from(val: u8) -> XpulPullUp
fn from(val: u8) -> XpulPullUp
Converts to this type from the input type.
Source§impl Ord for XpulPullUp
impl Ord for XpulPullUp
Source§fn cmp(&self, other: &XpulPullUp) -> Ordering
fn cmp(&self, other: &XpulPullUp) -> 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 XpulPullUp
impl PartialEq for XpulPullUp
Source§impl PartialOrd for XpulPullUp
impl PartialOrd for XpulPullUp
impl Copy for XpulPullUp
impl Eq for XpulPullUp
impl StructuralPartialEq for XpulPullUp
Auto Trait Implementations§
impl Freeze for XpulPullUp
impl RefUnwindSafe for XpulPullUp
impl Send for XpulPullUp
impl Sync for XpulPullUp
impl Unpin for XpulPullUp
impl UnwindSafe for XpulPullUp
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