struct DeviceSlot {Show 13 fields
slot_id: u8,
usb_address: u8,
input_ctx: *mut InputContext,
input_ctx_phys: u64,
ep_transfer_rings: [*mut Trb; 31],
ep_transfer_ring_phys: [u64; 31],
ep_dequeue: [usize; 31],
ep_cycle: [bool; 31],
configured: bool,
ep_buf: [*mut u8; 31],
ep_buf_phys: [u64; 31],
ep_buf_len: [usize; 31],
ep_active: [bool; 31],
}Fields§
§slot_id: u8§usb_address: u8§input_ctx: *mut InputContext§input_ctx_phys: u64§ep_transfer_rings: [*mut Trb; 31]§ep_transfer_ring_phys: [u64; 31]§ep_dequeue: [usize; 31]§ep_cycle: [bool; 31]§configured: bool§ep_buf: [*mut u8; 31]§ep_buf_phys: [u64; 31]§ep_buf_len: [usize; 31]§ep_active: [bool; 31]Implementations§
Trait Implementations§
impl Send for DeviceSlot
impl Sync for DeviceSlot
Auto Trait Implementations§
impl Freeze for DeviceSlot
impl RefUnwindSafe for DeviceSlot
impl Unpin for DeviceSlot
impl UnsafeUnpin for DeviceSlot
impl UnwindSafe for DeviceSlot
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more