Struct rs_ws281x::ChannelBuilder[][src]

pub struct ChannelBuilder(pub ws2811_channel_t);

A struct used to build a channel configuration for a ControllerBuilder.

Methods

impl ChannelBuilder
[src]

Creates a new ChannelBuilder

Sets the GPIO pin used by this channel

Sets the number of LEDs attached to this channel

Sets the strip type of this channel

Sets the invert flag on the channel

Sets the brightness of this channel

Sets the white shift of this channel

Sets the red shift of this channel

Sets the green shift of this channel

Sets the blue shift of this channel

Return the built channel.

Trait Implementations

impl Debug for ChannelBuilder
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations