pub struct UsbCVBus {
pub millivolts: u16,
pub milliamps: u16,
pub milliwatts: u16,
}Expand description
Voltage and current readings from the USB-C port.
Fields§
§millivolts: u16§milliamps: u16§milliwatts: u16Trait Implementations§
Auto Trait Implementations§
impl Freeze for UsbCVBus
impl RefUnwindSafe for UsbCVBus
impl Send for UsbCVBus
impl Sync for UsbCVBus
impl Unpin for UsbCVBus
impl UnwindSafe for UsbCVBus
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