pub enum PowerType {
Fixed = 0,
Adjustable = 1,
}Expand description
The different operational modes that the USB C Specification Supports
Variants§
Fixed = 0
In this mode, Programmable Power Supply (PPS) is not used and the voltage will at a fixed rate defined by the Power Data Object
Adjustable = 1
In this mode, Programmable Power Supply (PPS) can be used and the voltage can be tweaked dependent on the configuration of the Power Data Object
Implementations§
Trait Implementations§
impl Copy for PowerType
impl StructuralPartialEq for PowerType
Auto Trait Implementations§
impl Freeze for PowerType
impl RefUnwindSafe for PowerType
impl Send for PowerType
impl Sync for PowerType
impl Unpin for PowerType
impl UnsafeUnpin for PowerType
impl UnwindSafe for PowerType
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