Struct ws281x::Handle
[−]
[src]
pub struct Handle(_);
Handle to a WS281X device.
Methods
impl Handle
[src]
fn render(&mut self) -> Result<(), ()>
Render the current state to the device.
fn wait(&mut self) -> Result<(), ()>
Wait for the device to have finished rendering.
fn channel(&self, index: usize) -> ChannelRef
Get the given channel.
fn channel_mut(&mut self, index: usize) -> ChannelMut
Get the given channel mutably.