pub struct ImagePixels<'a> {
pub identity: ImageIdentity,
pub format: ImageFormat,
pub bytes: &'a [u8],
pub size: [u32; 2],
pub edges: Option<NineSlice>,
}Fields§
§identity: ImageIdentity§format: ImageFormat§bytes: &'a [u8]§size: [u32; 2]§edges: Option<NineSlice>Auto Trait Implementations§
impl<'a> Forget for ImagePixels<'a>
impl<'a> Freeze for ImagePixels<'a>
impl<'a> Move for ImagePixels<'a>
impl<'a> RefUnwindSafe for ImagePixels<'a>
impl<'a> Send for ImagePixels<'a>
impl<'a> Sync for ImagePixels<'a>
impl<'a> Unpin for ImagePixels<'a>
impl<'a> UnsafeUnpin for ImagePixels<'a>
impl<'a> UnwindSafe for ImagePixels<'a>
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