Enum stm32_metapac::ucpd::vals::Phyccsel
#[repr(u8)]pub enum Phyccsel {
CC1 = 0,
CC2 = 1,
}
Variants§
CC1 = 0
Use CC1 IO for Power Delivery communication
CC2 = 1
Use CC2 IO for Power Delivery communication
Implementations§
Trait Implementations§
§impl Ord for Phyccsel
impl Ord for Phyccsel
§impl PartialOrd for Phyccsel
impl PartialOrd for Phyccsel
§fn partial_cmp(&self, other: &Phyccsel) -> Option<Ordering>
fn partial_cmp(&self, other: &Phyccsel) -> 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 Phyccsel
impl Eq for Phyccsel
impl StructuralEq for Phyccsel
impl StructuralPartialEq for Phyccsel
Auto Trait Implementations§
impl RefUnwindSafe for Phyccsel
impl Send for Phyccsel
impl Sync for Phyccsel
impl Unpin for Phyccsel
impl UnwindSafe for Phyccsel
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