[][src]Struct lasy::stream::Builder

pub struct Builder {
    pub dac: Option<DetectedDac>,
    pub point_hz: Option<u32>,
    pub latency_points: Option<u32>,
}

Builder parameters shared between the raw and frame signals.

Fields

dac: Option<DetectedDac>

The DAC with which the stream should be established.

point_hz: Option<u32>

The initial rate at which the DAC should process points per second.

By default this value is stream::DEFAULT_POINT_HZ.

latency_points: Option<u32>

The maximum latency specified as a number of points.

Each time the laser indicates its "fullness", the raw stream will request enough points from the render function to fill the DAC buffer up to latency_points.

Trait Implementations

impl Clone for Builder[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Builder[src]

impl Debug for Builder[src]

Auto Trait Implementations

impl Send for Builder

impl Sync for Builder

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]