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

Trait Implementations

impl Debug for ws2811_return_t
[src]

[src]

Formats the value using the given formatter.

impl Copy for ws2811_return_t
[src]

impl Clone for ws2811_return_t
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ws2811_return_t
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for ws2811_return_t
[src]

impl Hash for ws2811_return_t
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more