Struct zordon::types::ByteView[][src]

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

A mutable byte view for type T where the length of the view is always 1.

Check ModByteView implementations for valid T monomorphisms.

Implementations

Constructs a new ByteView and returns the leftover slice.

Panics

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

Trait Implementations

Performs the += operation. Read more

Formats the value using the given formatter. Read more

Performs the /= operation. Read more

Return a copy of the underlying value T.

Set the underlying value to T.

Return a copy of the underlying value T.

Set the underlying value to T.

Performs the *= operation. Read more

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

This method tests for !=.

Performs the -= operation. Read more

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.