Struct kernel::of::ConstOfMatchTable[][src]

#[repr(C)]
pub struct ConstOfMatchTable<const N: usize> { /* fields omitted */ }
Expand description

An Open Firmware Match Table that can be constructed at build time.

Invariants

sentinel always contains zeroes.

Implementations

Creates a new Open Firmware Match Table from a list of compatible strings.

Methods from Deref<Target = OfMatchTable>

Returns the table as a reference to a static lifetime, sentinel-terminated C array.

This is suitable to be coerced into the kernel’s of_match_table field.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

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

Performs the conversion.

Performs the conversion.

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.