#[repr(C)]pub enum PamojaPinLevel {
Low = 0,
High = 1,
}Expand description
The physical voltage level on a pin.
Variants§
Trait Implementations§
Source§impl Clone for PamojaPinLevel
impl Clone for PamojaPinLevel
Source§fn clone(&self) -> PamojaPinLevel
fn clone(&self) -> PamojaPinLevel
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 PamojaPinLevel
Source§impl Debug for PamojaPinLevel
impl Debug for PamojaPinLevel
impl Eq for PamojaPinLevel
Source§impl From<Level> for PamojaPinLevel
impl From<Level> for PamojaPinLevel
Source§impl From<PamojaPinLevel> for Level
impl From<PamojaPinLevel> for Level
Source§fn from(value: PamojaPinLevel) -> Self
fn from(value: PamojaPinLevel) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PamojaPinLevel
impl PartialEq for PamojaPinLevel
Source§fn eq(&self, other: &PamojaPinLevel) -> bool
fn eq(&self, other: &PamojaPinLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaPinLevel
Auto Trait Implementations§
impl Freeze for PamojaPinLevel
impl RefUnwindSafe for PamojaPinLevel
impl Send for PamojaPinLevel
impl Sync for PamojaPinLevel
impl Unpin for PamojaPinLevel
impl UnsafeUnpin for PamojaPinLevel
impl UnwindSafe for PamojaPinLevel
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