pub enum PinFunction {
Input,
Output,
Alt0,
Alt1,
Alt2,
Alt3,
Alt4,
Alt5,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PinFunction
impl Clone for PinFunction
Source§fn clone(&self) -> PinFunction
fn clone(&self) -> PinFunction
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 PinFunction
impl Debug for PinFunction
Source§impl Ord for PinFunction
impl Ord for PinFunction
Source§fn cmp(&self, other: &PinFunction) -> Ordering
fn cmp(&self, other: &PinFunction) -> 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 PinFunction
impl PartialEq for PinFunction
Source§impl PartialOrd for PinFunction
impl PartialOrd for PinFunction
impl Copy for PinFunction
impl Eq for PinFunction
impl StructuralPartialEq for PinFunction
Auto Trait Implementations§
impl Freeze for PinFunction
impl RefUnwindSafe for PinFunction
impl Send for PinFunction
impl Sync for PinFunction
impl Unpin for PinFunction
impl UnwindSafe for PinFunction
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