pub struct MissingGlyphReceiver { /* private fields */ }Expand description
Receives batches of grapheme clusters that exhausted font fallback.
Implementations§
Source§impl MissingGlyphReceiver
impl MissingGlyphReceiver
Sourcepub async fn recv(&mut self) -> Result<Vec<MissingGlyph>, RecvError>
pub async fn recv(&mut self) -> Result<Vec<MissingGlyph>, RecvError>
Waits until at least one new missing glyph has been observed.
§Errors
Returns async_channel::RecvError if the reporting channel is closed.
Trait Implementations§
Source§impl Drop for MissingGlyphReceiver
impl Drop for MissingGlyphReceiver
Auto Trait Implementations§
impl !Unpin for MissingGlyphReceiver
impl !UnsafeUnpin for MissingGlyphReceiver
impl Freeze for MissingGlyphReceiver
impl RefUnwindSafe for MissingGlyphReceiver
impl Send for MissingGlyphReceiver
impl Sync for MissingGlyphReceiver
impl UnwindSafe for MissingGlyphReceiver
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more