pub struct FontGlyphBitmapBuilder<'a: 'b, 'b, A: Allocator + 'a> { /* private fields */ }Implementations§
Source§impl<'a: 'b, 'b, A: Allocator + 'a> FontGlyphBitmapBuilder<'a, 'b, A>
impl<'a: 'b, 'b, A: Allocator + 'a> FontGlyphBitmapBuilder<'a, 'b, A>
pub fn add_id(&mut self, id: u16)
pub fn add_atlas(&mut self, atlas: WIPOffset<Region<'b>>)
pub fn add_offset(&mut self, offset: WIPOffset<Vec2<'b>>)
pub fn add_width_advance(&mut self, width_advance: f32)
pub fn add_text(&mut self, text: WIPOffset<&'b str>)
pub fn add_page(&mut self, page: i8)
pub fn add_channel(&mut self, channel: i8)
pub fn new( _fbb: &'b mut FlatBufferBuilder<'a, A>, ) -> FontGlyphBitmapBuilder<'a, 'b, A>
pub fn finish(self) -> WIPOffset<FontGlyphBitmap<'a>>
Auto Trait Implementations§
impl<'a, 'b, A> !UnwindSafe for FontGlyphBitmapBuilder<'a, 'b, A>
impl<'a, 'b, A> Freeze for FontGlyphBitmapBuilder<'a, 'b, A>
impl<'a, 'b, A> RefUnwindSafe for FontGlyphBitmapBuilder<'a, 'b, A>where
A: RefUnwindSafe,
impl<'a, 'b, A> Send for FontGlyphBitmapBuilder<'a, 'b, A>where
A: Send,
impl<'a, 'b, A> Sync for FontGlyphBitmapBuilder<'a, 'b, A>where
A: Sync,
impl<'a, 'b, A> Unpin for FontGlyphBitmapBuilder<'a, 'b, A>
impl<'a, 'b, A> UnsafeUnpin for FontGlyphBitmapBuilder<'a, 'b, A>
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