pub enum Pixels {
Rgba8(Vec<u8>),
Encoded(Vec<u8>),
}Variants§
Rgba8(Vec<u8>)
Straight-alpha RGBA, 8 bits per channel, row by row.
Encoded(Vec<u8>)
The original file a placed image was made from (PNG, JPEG…), as embedded.
Trait Implementations§
impl StructuralPartialEq for Pixels
Auto Trait Implementations§
impl Forget for Pixels
impl Freeze for Pixels
impl Move for Pixels
impl RefUnwindSafe for Pixels
impl Send for Pixels
impl Sync for Pixels
impl Unpin for Pixels
impl UnsafeUnpin for Pixels
impl UnwindSafe for Pixels
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