pub struct IdTable<'a, T: RawDeviceId, U> { /* private fields */ }
Expand description
A device id table.
The table is guaranteed to be zero-terminated and to be followed by an array of context data of
type Option<U>
.
Trait Implementations
sourceimpl<T: RawDeviceId, U> AsRef<<T as RawDeviceId>::RawType> for IdTable<'_, T, U>
impl<T: RawDeviceId, U> AsRef<<T as RawDeviceId>::RawType> for IdTable<'_, T, U>
Auto Trait Implementations
impl<'a, T, U> RefUnwindSafe for IdTable<'a, T, U>where
U: RefUnwindSafe,
<T as RawDeviceId>::RawType: RefUnwindSafe,
impl<'a, T, U> Send for IdTable<'a, T, U>where
U: Sync,
<T as RawDeviceId>::RawType: Sync,
impl<'a, T, U> Sync for IdTable<'a, T, U>where
U: Sync,
<T as RawDeviceId>::RawType: Sync,
impl<'a, T, U> Unpin for IdTable<'a, T, U>
impl<'a, T, U> UnwindSafe for IdTable<'a, T, U>where
U: RefUnwindSafe,
<T as RawDeviceId>::RawType: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more