Struct ws281x::channel::immutable::Ref
[−]
[src]
pub struct Ref<'a>(_, _);
An immutable reference to a Channel
.
Methods
impl<'a> Ref<'a>
[src]
fn pin(&self) -> i32
Get the GPIO pin.
fn invert(&mut self) -> bool
Get whether the channel is inverted.
fn brightness(&mut self) -> i32
Get the brightness.
fn strip(&mut self) -> Strip
Get the strip type.
fn leds(&mut self) -> &[Led]
Get the leds.