pub enum GlyphQueryTarget {
Codepoint(char),
Grapheme(Vec<char>),
}Expand description
The subject of a Glyph Protocol coverage query.
Use to_string() to get the query text.
Variants§
Codepoint(char)
One codepoint (cp=).
Grapheme(Vec<char>)
One grapheme cluster, as its scalar values in order (grapheme=).
Trait Implementations§
Source§impl Clone for GlyphQueryTarget
impl Clone for GlyphQueryTarget
Source§impl Debug for GlyphQueryTarget
impl Debug for GlyphQueryTarget
Source§impl Display for GlyphQueryTarget
impl Display for GlyphQueryTarget
impl Eq for GlyphQueryTarget
Source§impl PartialEq for GlyphQueryTarget
impl PartialEq for GlyphQueryTarget
impl StructuralPartialEq for GlyphQueryTarget
Auto Trait Implementations§
impl Freeze for GlyphQueryTarget
impl RefUnwindSafe for GlyphQueryTarget
impl Send for GlyphQueryTarget
impl Sync for GlyphQueryTarget
impl Unpin for GlyphQueryTarget
impl UnsafeUnpin for GlyphQueryTarget
impl UnwindSafe for GlyphQueryTarget
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of [
ToCompactString::to_compact_string()] Read more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString]. Read more