Enum stm32_metapac::ucpd::vals::Ccenable
#[repr(u8)]pub enum Ccenable {
DISABLED = 0,
CC1 = 1,
CC2 = 2,
BOTH = 3,
}
Variants§
DISABLED = 0
Disable both PHYs
CC1 = 1
Enable CC1 PHY
CC2 = 2
Enable CC2 PHY
BOTH = 3
Enable CC1 and CC2 PHY
Implementations§
Trait Implementations§
§impl Ord for Ccenable
impl Ord for Ccenable
§impl PartialOrd for Ccenable
impl PartialOrd for Ccenable
impl Copy for Ccenable
impl Eq for Ccenable
impl StructuralPartialEq for Ccenable
Auto Trait Implementations§
impl Freeze for Ccenable
impl RefUnwindSafe for Ccenable
impl Send for Ccenable
impl Sync for Ccenable
impl Unpin for Ccenable
impl UnwindSafe for Ccenable
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
)