#[repr(C)]
pub struct IdArray<T: RawDeviceId, U, const N: usize> { /* private fields */ }
Expand description

A zero-terminated device id array, followed by context data.

Implementations

Creates a new instance of the array.

The contents are derived from the given identifiers and context information.

Returns an IdTable backed by self.

This is used to essentially erase the array size.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.