pub struct PrintSrc<'a> {
pub px: &'a [u8],
pub w: i32,
pub h: i32,
pub stride: i32,
pub fmt: u8,
}Expand description
the pixels of a print job: rows of 32-bit B, G, R, A (the fields of gfx::Surface)
Fields§
§px: &'a [u8]§w: i32§h: i32§stride: i32§fmt: u8Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for PrintSrc<'a>
impl<'a> Freeze for PrintSrc<'a>
impl<'a> RefUnwindSafe for PrintSrc<'a>
impl<'a> Send for PrintSrc<'a>
impl<'a> Sync for PrintSrc<'a>
impl<'a> Unpin for PrintSrc<'a>
impl<'a> UnsafeUnpin for PrintSrc<'a>
impl<'a> UnwindSafe for PrintSrc<'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