pub struct LedString { /* private fields */ }Implementations§
Source§impl LedString
impl LedString
pub fn new( gpio: u32, frequency: Option<u32>, is_rgbw: bool, ) -> Result<Self, String>
pub fn put_pixel(&mut self, pixel_grb: u32)
pub fn put_pixel_rgb(&mut self, r: u8, g: u8, b: u8)
pub fn put_all_pixels(&mut self, pixel_grb: u32, num_pixels: u32)
pub fn put_all_pixels_rgb(&mut self, r: u8, g: u8, b: u8, num_pixels: u32)
Auto Trait Implementations§
impl Freeze for LedString
impl RefUnwindSafe for LedString
impl !Send for LedString
impl !Sync for LedString
impl Unpin for LedString
impl UnsafeUnpin for LedString
impl UnwindSafe for LedString
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more