pub struct Format<'a, B: BorrowMut<Buffer> + Borrow<Buffer>> { /* private fields */ }

Implementations

Provide short description of format entry (just the tag name).

Get format data as integers.

Attention: the returned BufferBacked which holds the data has to be kept in scope as long as the data is accessed. If parts of the data are accessed while the BufferBacked object is already dropped, you will access unallocated memory.

Get format data as floats.

Attention: the returned BufferBacked which holds the data has to be kept in scope as along as the data is accessed. If parts of the data are accessed while the BufferBacked object is already dropped, you will access unallocated memory.

Get format data as byte slices. To obtain the values strings, use std::str::from_utf8.

Attention: the returned BufferBacked which holds the data has to be kept in scope as along as the data is accessed. If parts of the data are accessed while the BufferBacked object is already dropped, you will access unallocated memory.

Trait Implementations

Formats the value using the given formatter. 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

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.