Struct dgen::DataGenOutput

source ·
pub struct DataGenOutput<'a> { /* private fields */ }

Implementations

Trait Implementations

Writes a single byte.
Writes a number of bytes.
Hints an expected lower bound on the length (in bytes) of the output until the next call to writer_hint, so that the writer can reserve the memory for writing. RawEncoders are recommended but not required to call this method with an appropriate estimate. By default this method does nothing. 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.