pub struct TextRasterResult {
pub descriptor: TextTexture,
pub pixels: HostTexturePixels,
}Expand description
Rasterized pixels and their text-specific layout descriptor.
Fields§
§descriptor: TextTextureLayout facts sharing the generic compositor texture contract.
pixels: HostTexturePixelsTightly packed premultiplied RGBA8 pixels.
Trait Implementations§
Source§impl Clone for TextRasterResult
impl Clone for TextRasterResult
Source§impl Debug for TextRasterResult
impl Debug for TextRasterResult
Source§impl PartialEq for TextRasterResult
impl PartialEq for TextRasterResult
impl StructuralPartialEq for TextRasterResult
Auto Trait Implementations§
impl Freeze for TextRasterResult
impl RefUnwindSafe for TextRasterResult
impl Send for TextRasterResult
impl Sync for TextRasterResult
impl Unpin for TextRasterResult
impl UnsafeUnpin for TextRasterResult
impl UnwindSafe for TextRasterResult
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