Struct etherdream::dac::Dac
[−]
[src]
pub struct Dac { /* fields omitted */ }
An EtherDream DAC. Controls what we display on the projector.
Methods
impl Dac
[src]
fn new(ip_address: IpAddr) -> Dac
CTOR.
fn get_ip_address(&self) -> &IpAddr
IP address the DAC lives at.
fn play_function<F>(&mut self, make_points: F) -> Result<(), EtherdreamError> where
F: FnMut(u16) -> Vec<Point>,
F: FnMut(u16) -> Vec<Point>,
Stream points generated by a function. The function takes the number of points it needs to generate.