Struct zordon::types::ArrayView[][src]

pub struct ArrayView<'a, T> { /* fields omitted */ }
Expand description

A mutable array view for type [u8; L] where L is a const.

Implementations

Returns an ArrayView and leftover slice.

Panics

Panics if T.len() > arr.len()

Returns a mutable reference to the array.

Returns a reference to the array.

Retruns a clone of the reference counted pointer.

Copies bytes from a &[u8] source to the underlying array.

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.