pub struct ImagePlane {
pub size: Size,
pub stride: i32,
pub color: RgbaColor,
pub destination: Point,
pub kind: ImageType,
pub bitmap: Vec<u8>,
}Fields§
§size: Size§stride: i32§color: RgbaColor§destination: Point§kind: ImageType§bitmap: Vec<u8>Trait Implementations§
Source§impl Clone for ImagePlane
impl Clone for ImagePlane
Source§fn clone(&self) -> ImagePlane
fn clone(&self) -> ImagePlane
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImagePlane
impl Debug for ImagePlane
Source§impl Default for ImagePlane
impl Default for ImagePlane
Source§fn default() -> ImagePlane
fn default() -> ImagePlane
Returns the “default value” for a type. Read more
Source§impl PartialEq for ImagePlane
impl PartialEq for ImagePlane
Source§fn eq(&self, other: &ImagePlane) -> bool
fn eq(&self, other: &ImagePlane) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ImagePlane
impl StructuralPartialEq for ImagePlane
Auto Trait Implementations§
impl Freeze for ImagePlane
impl RefUnwindSafe for ImagePlane
impl Send for ImagePlane
impl Sync for ImagePlane
impl Unpin for ImagePlane
impl UnsafeUnpin for ImagePlane
impl UnwindSafe for ImagePlane
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