pub struct Buffer { /* private fields */ }
Expand description

An Industrial I/O input or output buffer

Implementations

Get the device to which this buffer belongs

Fetch more samples from the hardware

This is only valid for input buffers

Send the samples to the hardware.

This is only valid for output buffers

Send a given number of samples to the hardware.

n The number of samples to send This is only valid for output buffers

Gets an iterator for the data from a channel.

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.