pub enum PULLR {
DISABLED,
PULLDOWN,
PULLUP,
_Reserved(u8),
}
Expand description
Possible values of the field PULL
Variants
DISABLED
No pull
PULLDOWN
Pull down on pin
PULLUP
Pull up on pin
_Reserved(u8)
Reserved
Implementations
sourceimpl PULLR
impl PULLR
sourcepub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Checks if the value of the field is DISABLED
sourcepub fn is_pulldown(&self) -> bool
pub fn is_pulldown(&self) -> bool
Checks if the value of the field is PULLDOWN
Trait Implementations
impl Copy for PULLR
impl StructuralPartialEq for PULLR
Auto Trait Implementations
impl RefUnwindSafe for PULLR
impl Send for PULLR
impl Sync for PULLR
impl Unpin for PULLR
impl UnwindSafe for PULLR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more