Struct crayon::utils::data_buf::DataBuffer [] [src]

pub struct DataBuffer(_, _);

Where we store all the intermediate bytes.

Methods

impl DataBuffer
[src]

[src]

Creates a new task buffer with specified capacity.

[src]

[src]

[src]

Clones and appends all elements in a slice to the buffer.

[src]

Clones and append all bytes in a string slice to the buffer.

[src]

Returns reference to object indicated by DataBufferPtr.

[src]

Returns a object slice indicated by `DataBufferPtr.

[src]

Returns string slice indicated by DataBufferPtr.

[src]

Trait Implementations

impl Debug for DataBuffer
[src]

[src]

Formats the value using the given formatter.

impl Clone for DataBuffer
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more