pub enum PinDirection {
Input = 1,
Output = 2,
}Available on crate feature
dpll only.Expand description
defines possible direction of a pin, valid values for DPLL_A_PIN_DIRECTION attribute Enum - defines an integer enumeration, with values for each entry incrementing by 1, (e.g. 0, 1, 2, 3)
Variants§
Implementations§
Source§impl PinDirection
impl PinDirection
pub fn from_value(value: u64) -> Option<Self>
Trait Implementations§
Source§impl Clone for PinDirection
impl Clone for PinDirection
Source§fn clone(&self) -> PinDirection
fn clone(&self) -> PinDirection
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 PinDirection
Auto Trait Implementations§
impl Freeze for PinDirection
impl RefUnwindSafe for PinDirection
impl Send for PinDirection
impl Sync for PinDirection
impl Unpin for PinDirection
impl UnsafeUnpin for PinDirection
impl UnwindSafe for PinDirection
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