Enum rp_pac::pads::vals::VoltageSelect
source · #[repr(u8)]pub enum VoltageSelect {
_3V3,
_1V8,
}
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<VoltageSelect> for VoltageSelect
impl PartialEq<VoltageSelect> for VoltageSelect
source§fn eq(&self, other: &VoltageSelect) -> bool
fn eq(&self, other: &VoltageSelect) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<VoltageSelect> for VoltageSelect
impl PartialOrd<VoltageSelect> for VoltageSelect
source§fn partial_cmp(&self, other: &VoltageSelect) -> Option<Ordering>
fn partial_cmp(&self, other: &VoltageSelect) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for VoltageSelect
impl Eq for VoltageSelect
impl StructuralEq for VoltageSelect
impl StructuralPartialEq for VoltageSelect
Auto Trait Implementations§
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