pub struct TextPixelWindow<'a> {
pub pixels: TextPixelRows<'a>,
pub stride: usize,
pub width: u32,
pub height: u32,
}Expand description
Pixels that a text paints over, as a renderer’s target holds them:
width by height of them from the first, a row every stride pixels.
Fields§
§pixels: TextPixelRows<'a>The pixels from the window’s top left corner on.
stride: usizePixels from the start of one row to the start of the next.
width: u32Width of the window in pixels.
height: u32Height of the window in pixels.
Auto Trait Implementations§
impl<'a> !UnwindSafe for TextPixelWindow<'a>
impl<'a> Freeze for TextPixelWindow<'a>
impl<'a> RefUnwindSafe for TextPixelWindow<'a>
impl<'a> Send for TextPixelWindow<'a>
impl<'a> Sync for TextPixelWindow<'a>
impl<'a> Unpin for TextPixelWindow<'a>
impl<'a> UnsafeUnpin for TextPixelWindow<'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