pub struct GlyphRequest<'a, T> {
pub user_data: T,
pub face: &'a Face<'a>,
pub codepoint: char,
}Expand description
A request for a glyph to be rendered.
Fields§
§user_data: TSome data you can use to associate a rendered Glyph to the submitted GlyphRequest.
face: &'a Face<'a>The font face to render the glyph from.
codepoint: charThe codepoint of the glyph.
Trait Implementations§
Source§impl<'a, T: Clone> Clone for GlyphRequest<'a, T>
impl<'a, T: Clone> Clone for GlyphRequest<'a, T>
Source§fn clone(&self) -> GlyphRequest<'a, T>
fn clone(&self) -> GlyphRequest<'a, T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a, T: Debug> Debug for GlyphRequest<'a, T>
impl<'a, T: Debug> Debug for GlyphRequest<'a, T>
impl<'a, T: Copy> Copy for GlyphRequest<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for GlyphRequest<'a, T>where
T: Freeze,
impl<'a, T> RefUnwindSafe for GlyphRequest<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for GlyphRequest<'a, T>where
T: Send,
impl<'a, T> Sync for GlyphRequest<'a, T>where
T: Sync,
impl<'a, T> Unpin for GlyphRequest<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for GlyphRequest<'a, T>where
T: UnwindSafe,
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