GlyphInfoList
enum · ferroui-base · v0.5.0
enum GlyphInfoList
The glyphs of a glyph run: either an owned list or a shaped buffer
(upstream: IReadOnlyList<GlyphInfo>).
Members
List
List(std::rc::Rc<[crate::media::text_formatting::GlyphInfo]>)
A plain list of glyphs.
ShapedBuffer
ShapedBuffer(std::rc::Rc<crate::media::text_formatting::ShapedBuffer>)
The glyphs of a shaped buffer.
empty
fn empty() -> Self
An empty list.
borrow
fn borrow(self: &Self) -> GlyphInfosRef<'_>
Borrows the glyphs.
count
fn count(self: &Self) -> usize
The number of glyphs.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneFrom<Vec<GlyphInfo>>From<Rc<ShapedBuffer>>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.