FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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>).

    View source

    Members

    List

    List(std::rc::Rc<[crate::media::text_formatting::GlyphInfo]>)
    

    A plain list of glyphs.

    Source

    ShapedBuffer

    ShapedBuffer(std::rc::Rc<crate::media::text_formatting::ShapedBuffer>)
    

    The glyphs of a shaped buffer.

    Source

    empty

    fn empty() -> Self
    

    An empty list.

    Source

    borrow

    fn borrow(self: &Self) -> GlyphInfosRef<'_>
    

    Borrows the glyphs.

    Source

    count

    fn count(self: &Self) -> usize
    

    The number of glyphs.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • From<Vec<GlyphInfo>>
    • From<Rc<ShapedBuffer>>

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.