Struct kernel::of::OfMatchTable[][src]

#[repr(transparent)]
pub struct OfMatchTable(_);
Expand description

A kernel Open Firmware / devicetree match table.

Can only exist as an &OfMatchTable reference (akin to &str or &Path in Rust std).

Invariants

The inner reference points to a sentinel-terminated C array.

Implementations

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.

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.