[][src]Struct tcrab_console::canvas::GlyphLibrary

pub struct GlyphLibrary<C: CustomGlyph, D> { /* fields omitted */ }

Methods

impl<C: CustomGlyph, D> GlyphLibrary<C, D>[src]

pub fn new() -> GlyphLibrary<C, D>[src]

pub fn define_glyph<T: Into<Glyph<C>>>(&mut self, glyph: T, def: D)[src]

pub fn get_glyph_def(&self, glyph: Glyph<C>) -> &D[src]

Auto Trait Implementations

impl<C, D> Send for GlyphLibrary<C, D> where
    C: Send,
    D: Send

impl<C, D> Sync for GlyphLibrary<C, D> where
    C: Sync,
    D: Sync

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]