[][src]Struct nannou_laser::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]

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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