pub struct SwashImage {
pub source: Source,
pub content: Content,
pub placement: Placement,
pub data: Vec<u8>,
}
Expand description
Scaled glyph image.
Fields§
§source: Source
Source of the image.
content: Content
Content of the image.
placement: Placement
Offset and size of the image.
data: Vec<u8>
Raw image data.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Image
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
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