Struct cosmic_text::SwashImage
source · [−]pub struct SwashImage {
pub source: Source,
pub content: Content,
pub placement: Placement,
pub data: Vec<u8, Global>,
}
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, Global>
Raw image data.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more