pub(crate) struct ColrGlyphInfo {
pub(crate) bbox: Option<Rect>,
pub(crate) has_non_default_blend: bool,
}Fields§
§bbox: Option<Rect>A conservative bounding box of the glyph.
Is None in case the glyph is empty (i.e. doesn’t contain any drawable content).
has_non_default_blend: boolWhether the glyph uses any non-default blending.
Auto Trait Implementations§
impl Freeze for ColrGlyphInfo
impl RefUnwindSafe for ColrGlyphInfo
impl Send for ColrGlyphInfo
impl Sync for ColrGlyphInfo
impl Unpin for ColrGlyphInfo
impl UnsafeUnpin for ColrGlyphInfo
impl UnwindSafe for ColrGlyphInfo
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