pub struct OwnedPixmap {
pub width: u32,
pub height: u32,
pub pixels: Vec<Option<Rgb>>,
}Expand description
An owned pixel image (props copied into a saved scene).
Fields§
§width: u32§height: u32§pixels: Vec<Option<Rgb>>Implementations§
Trait Implementations§
Source§impl Clone for OwnedPixmap
impl Clone for OwnedPixmap
Source§impl Debug for OwnedPixmap
impl Debug for OwnedPixmap
impl Eq for OwnedPixmap
Source§impl PartialEq for OwnedPixmap
impl PartialEq for OwnedPixmap
Source§impl Pixmap for OwnedPixmap
impl Pixmap for OwnedPixmap
impl StructuralPartialEq for OwnedPixmap
Auto Trait Implementations§
impl Forget for OwnedPixmap
impl Freeze for OwnedPixmap
impl Move for OwnedPixmap
impl RefUnwindSafe for OwnedPixmap
impl Send for OwnedPixmap
impl Sync for OwnedPixmap
impl Unpin for OwnedPixmap
impl UnsafeUnpin for OwnedPixmap
impl UnwindSafe for OwnedPixmap
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