[−][src]Struct rpi_led_matrix::LedMatrixOptions
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
impl RefUnwindSafe for LedMatrixOptions
impl !Send for LedMatrixOptions
impl !Sync for LedMatrixOptions
impl Unpin for LedMatrixOptions
impl UnwindSafe for LedMatrixOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,