pub enum ImagePixels {
Static(&'static [u8]),
Owned(Box<[u8]>),
}Variants§
Implementations§
Trait Implementations§
Source§impl Debug for ImagePixels
impl Debug for ImagePixels
Source§impl PartialEq for ImagePixels
impl PartialEq for ImagePixels
impl StructuralPartialEq for ImagePixels
Auto Trait Implementations§
impl Forget for ImagePixels
impl Freeze for ImagePixels
impl Move for ImagePixels
impl RefUnwindSafe for ImagePixels
impl Send for ImagePixels
impl Sync for ImagePixels
impl Unpin for ImagePixels
impl UnsafeUnpin for ImagePixelswhere
&'static [u8]: UnsafeUnpin,
*const [u8] is !null: UnsafeUnpin,
PhantomData<[u8]>: UnsafeUnpin,
impl UnwindSafe for ImagePixels
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