pub struct GlyphUploadReport { /* private fields */ }Expand description
Result of uploading one glyph image into an existing atlas.
Implementations§
Source§impl GlyphUploadReport
impl GlyphUploadReport
Sourcepub const fn uploaded_bytes(self) -> usize
pub const fn uploaded_bytes(self) -> usize
Returns the exact number of RGBA bytes submitted to the GPU queue.
Sourcepub const fn inserted_entry(self) -> bool
pub const fn inserted_entry(self) -> bool
Returns whether a new glyph identity was registered.
Trait Implementations§
Source§impl Clone for GlyphUploadReport
impl Clone for GlyphUploadReport
Source§fn clone(&self) -> GlyphUploadReport
fn clone(&self) -> GlyphUploadReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GlyphUploadReport
Source§impl Debug for GlyphUploadReport
impl Debug for GlyphUploadReport
impl Eq for GlyphUploadReport
Source§impl PartialEq for GlyphUploadReport
impl PartialEq for GlyphUploadReport
impl StructuralPartialEq for GlyphUploadReport
Auto Trait Implementations§
impl Freeze for GlyphUploadReport
impl RefUnwindSafe for GlyphUploadReport
impl Send for GlyphUploadReport
impl Sync for GlyphUploadReport
impl Unpin for GlyphUploadReport
impl UnsafeUnpin for GlyphUploadReport
impl UnwindSafe for GlyphUploadReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.