Enum embassy_stm32::ucpd::CcVState
#[repr(u8)]pub enum CcVState {
LOWEST = 0,
LOW = 1,
HIGH = 2,
HIGHEST = 3,
}
Variantsยง
Implementationsยง
ยงimpl TypecVstateCc
impl TypecVstateCc
pub const fn from_bits(val: u8) -> TypecVstateCc
pub const fn to_bits(self) -> u8
Trait Implementationsยง
ยงimpl Clone for TypecVstateCc
impl Clone for TypecVstateCc
ยงfn clone(&self) -> TypecVstateCc
fn clone(&self) -> TypecVstateCc
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 moreยงimpl From<u8> for TypecVstateCc
impl From<u8> for TypecVstateCc
ยงfn from(val: u8) -> TypecVstateCc
fn from(val: u8) -> TypecVstateCc
Converts to this type from the input type.
ยงimpl Ord for TypecVstateCc
impl Ord for TypecVstateCc
ยงfn cmp(&self, other: &TypecVstateCc) -> Ordering
fn cmp(&self, other: &TypecVstateCc) -> 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
ยงimpl PartialEq for TypecVstateCc
impl PartialEq for TypecVstateCc
ยงimpl PartialOrd for TypecVstateCc
impl PartialOrd for TypecVstateCc
impl Copy for TypecVstateCc
impl Eq for TypecVstateCc
impl StructuralPartialEq for TypecVstateCc
Auto Trait Implementationsยง
impl Freeze for TypecVstateCc
impl RefUnwindSafe for TypecVstateCc
impl Send for TypecVstateCc
impl Sync for TypecVstateCc
impl Unpin for TypecVstateCc
impl UnwindSafe for TypecVstateCc
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
)