#[repr(C, packed(1))]pub struct usb_hub_descriptor_t {
pub bDescLength: uByte,
pub bDescriptorType: uByte,
pub bNbrPorts: uByte,
pub wHubCharacteristics: uWord,
pub bPwrOn2PwrGood: uByte,
pub bHubContrCurrent: uByte,
pub DeviceRemovable: [uByte; 32],
pub PortPowerCtrlMask: [uByte; 1],
}Fields§
§bDescLength: uByte§bDescriptorType: uByte§bNbrPorts: uByte§wHubCharacteristics: uWord§bPwrOn2PwrGood: uByte§bHubContrCurrent: uByte§DeviceRemovable: [uByte; 32]§PortPowerCtrlMask: [uByte; 1]Trait Implementations§
Source§impl Clone for usb_hub_descriptor_t
impl Clone for usb_hub_descriptor_t
Source§fn clone(&self) -> usb_hub_descriptor_t
fn clone(&self) -> usb_hub_descriptor_t
Returns a duplicate 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 moreSource§impl Debug for usb_hub_descriptor_t
impl Debug for usb_hub_descriptor_t
impl Copy for usb_hub_descriptor_t
Auto Trait Implementations§
impl Freeze for usb_hub_descriptor_t
impl RefUnwindSafe for usb_hub_descriptor_t
impl Send for usb_hub_descriptor_t
impl Sync for usb_hub_descriptor_t
impl Unpin for usb_hub_descriptor_t
impl UnwindSafe for usb_hub_descriptor_t
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