Struct rog_anime::AnimeDataBuffer[][src]

pub struct AnimeDataBuffer(_);
Expand description

The minimal serializable data that can be transferred over wire types. Other data structures in rog_anime will convert to this.

Implementations

Get the inner data buffer

Get a mutable slice of the inner buffer

Create from a vector of bytes

Panics

Will panic if the vector length is not ANIME_DATA_LEN

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Do conversion from the nested Vec in AnimeMatrix to the two required packets suitable for sending over USB

Do conversion from the nested Vec in AnimeDataBuffer to the two required packets suitable for sending over USB

Performs the conversion.

Do conversion from the nested Vec in AniMeMatrix to the two required packets suitable for sending over USB

Serialize this value into the given Serde serializer. Read more

Get the signature for the implementing type. 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

A DeserializeSeed implementation for this type.

Get a deserializer compatible with this signature.

Get the signature for the implementing type. Read more

Performs the conversion.

Performs the conversion.

The none-equivalent value.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.