Enum rp_pac::pads::vals::VoltageSelect
source · #[repr(u8)]pub enum VoltageSelect {
_3V3 = 0,
_1V8 = 1,
}
Variants§
Implementations§
source§impl VoltageSelect
impl VoltageSelect
Trait Implementations§
source§impl Clone for VoltageSelect
impl Clone for VoltageSelect
source§fn clone(&self) -> VoltageSelect
fn clone(&self) -> VoltageSelect
Returns a copy 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 From<VoltageSelect> for u8
impl From<VoltageSelect> for u8
source§fn from(val: VoltageSelect) -> u8
fn from(val: VoltageSelect) -> u8
Converts to this type from the input type.
source§impl From<u8> for VoltageSelect
impl From<u8> for VoltageSelect
source§fn from(val: u8) -> VoltageSelect
fn from(val: u8) -> VoltageSelect
Converts to this type from the input type.
source§impl Ord for VoltageSelect
impl Ord for VoltageSelect
source§fn cmp(&self, other: &VoltageSelect) -> Ordering
fn cmp(&self, other: &VoltageSelect) -> 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 VoltageSelect
impl PartialEq for VoltageSelect
source§impl PartialOrd for VoltageSelect
impl PartialOrd for VoltageSelect
impl Copy for VoltageSelect
impl Eq for VoltageSelect
impl StructuralPartialEq for VoltageSelect
Auto Trait Implementations§
impl Freeze for VoltageSelect
impl RefUnwindSafe for VoltageSelect
impl Send for VoltageSelect
impl Sync for VoltageSelect
impl Unpin for VoltageSelect
impl UnwindSafe for VoltageSelect
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)