Enum rs_ws281x::ws2811_return_t
[−]
[src]
#[repr(i32)]pub enum ws2811_return_t { WS2811_SUCCESS, WS2811_ERROR_GENERIC, WS2811_ERROR_OUT_OF_MEMORY, WS2811_ERROR_HW_NOT_SUPPORTED, WS2811_ERROR_MEM_LOCK, WS2811_ERROR_MMAP, WS2811_ERROR_MAP_REGISTERS, WS2811_ERROR_GPIO_INIT, WS2811_ERROR_PWM_SETUP, WS2811_ERROR_MAILBOX_DEVICE, WS2811_ERROR_DMA, WS2811_ERROR_ILLEGAL_GPIO, WS2811_ERROR_PCM_SETUP, WS2811_ERROR_SPI_SETUP, WS2811_ERROR_SPI_TRANSFER, }
Variants
WS2811_SUCCESS
WS2811_ERROR_GENERIC
WS2811_ERROR_OUT_OF_MEMORY
WS2811_ERROR_HW_NOT_SUPPORTED
WS2811_ERROR_MEM_LOCK
WS2811_ERROR_MMAP
WS2811_ERROR_MAP_REGISTERS
WS2811_ERROR_GPIO_INIT
WS2811_ERROR_PWM_SETUP
WS2811_ERROR_MAILBOX_DEVICE
WS2811_ERROR_DMA
WS2811_ERROR_ILLEGAL_GPIO
WS2811_ERROR_PCM_SETUP
WS2811_ERROR_SPI_SETUP
WS2811_ERROR_SPI_TRANSFER
Trait Implementations
impl Debug for ws2811_return_t
[src]
impl Copy for ws2811_return_t
[src]
impl Clone for ws2811_return_t
[src]
fn clone(&self) -> ws2811_return_t
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for ws2811_return_t
[src]
fn eq(&self, __arg_0: &ws2811_return_t) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.