pub struct ImageData<P>where
P: Pixel,{
pub size: (u32, u32),
pub data: Vec<P>,
}
Fields§
§size: (u32, u32)
§data: Vec<P>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for ImageData<P>
impl<P> RefUnwindSafe for ImageData<P>where
P: RefUnwindSafe,
impl<P> Send for ImageData<P>where
P: Send,
impl<P> Sync for ImageData<P>where
P: Sync,
impl<P> Unpin for ImageData<P>where
P: Unpin,
impl<P> UnwindSafe for ImageData<P>where
P: UnwindSafe,
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