Struct audio_visualizer::dynamic::window_top_btm::pixel_buf::PixelBuf
source · pub struct PixelBuf(pub Vec<u32>);
Expand description
Abstraction that helps to access the Pixel data as [u32]
and [u8]
.
Required, because plotters
bitmap works on [u8]
and minifb
on
the other.
Tuple Fields§
§0: Vec<u32>
Trait Implementations§
source§impl BorrowMut<[u32]> for PixelBuf
impl BorrowMut<[u32]> for PixelBuf
source§fn borrow_mut(&mut self) -> &mut [u32]
fn borrow_mut(&mut self) -> &mut [u32]
Mutably borrows from an owned value. Read more
Auto Trait Implementations§
impl RefUnwindSafe for PixelBuf
impl Send for PixelBuf
impl Sync for PixelBuf
impl Unpin for PixelBuf
impl UnwindSafe for PixelBuf
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