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

A zero-terminated parameter constant array.

Implementations

Creates a new constant array.

Users are encouraged to use the define_fs_params macro to define the super::Context::PARAMS constant.

Returns a ConstantTable 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.