[][src]Enum nannou_laser::DetectedDac

pub enum DetectedDac {
    EtherDream {
        broadcast: DacBroadcast,
        source_addr: SocketAddr,
    },
}

An available DAC detected on the system.

Variants

EtherDream

An ether dream laser DAC discovered via the ether dream protocol broadcast message.

Fields of EtherDream

broadcast: DacBroadcastsource_addr: SocketAddr

Methods

impl DetectedDac[src]

pub fn max_point_hz(&self) -> u32[src]

The maximum point rate allowed by the DAC.

pub fn buffer_capacity(&self) -> u32[src]

The number of points that can be stored within the buffer.

pub fn id(&self) -> DacId[src]

A persistent, unique identifier associated with the DAC (like a MAC address).

It should be possible to use this to uniquely identify the same DAC on different occasions.

Trait Implementations

impl Clone for DetectedDac[src]

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

Performs copy-assignment from source. Read more

impl Debug for DetectedDac[src]

Auto Trait Implementations

impl Send for DetectedDac

impl Sync for DetectedDac

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]