[][src]Struct rpi_led_matrix::LedMatrixOptions

#[repr(C, packed)]pub struct LedMatrixOptions { /* fields omitted */ }

Implementations

impl LedMatrixOptions[src]

pub fn new() -> LedMatrixOptions[src]

pub fn set_hardware_mapping(&mut self, mapping: &str)[src]

pub fn set_rows(&mut self, rows: u32)[src]

pub fn set_cols(&mut self, cols: u32)[src]

pub fn set_chain_length(&mut self, chain_length: u32)[src]

pub fn set_parallel(&mut self, parallel: bool)[src]

pub fn set_pwm_bits(&mut self, pwm_bits: u8) -> Result<(), &'static str>[src]

pub fn set_pwm_lsb_nanoseconds(&mut self, pwm_lsb_nanoseconds: u32)[src]

pub fn set_brightness(&mut self, brightness: u8) -> Result<(), &'static str>[src]

pub fn set_scan_mode(&mut self, scan_mode: bool)[src]

pub fn set_led_rgb_sequence(&mut self, sequence: &str)[src]

pub fn set_pixel_mapper_config(&mut self, mapper: &str)[src]

pub fn set_hardware_pulsing(&mut self, enable: bool)[src]

pub fn set_refresh_rate(&mut self, enable: bool)[src]

pub fn set_inverse_colors(&mut self, enable: bool)[src]

Trait Implementations

impl Drop for LedMatrixOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.