pub struct EncodedGlyph(pub String);Expand description
A unicode encoded glyph is an EncodedGlyph.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl Clone for EncodedGlyph
impl Clone for EncodedGlyph
Source§fn clone(&self) -> EncodedGlyph
fn clone(&self) -> EncodedGlyph
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 Debug for EncodedGlyph
impl Debug for EncodedGlyph
Source§impl Decodable<Glyph> for EncodedGlyph
A glyph can be decoded from a Unicode code.
impl Decodable<Glyph> for EncodedGlyph
A glyph can be decoded from a Unicode code.
Source§impl Encodable<EncodedGlyph> for Glyph
A glyph can be encoded into Unicode code.
impl Encodable<EncodedGlyph> for Glyph
A glyph can be encoded into Unicode code.
fn encode(&self) -> Result<EncodedGlyph, ParseIntError>
Source§impl From<String> for EncodedGlyph
impl From<String> for EncodedGlyph
Source§impl From<char> for EncodedGlyph
impl From<char> for EncodedGlyph
Source§impl FromStr for EncodedGlyph
impl FromStr for EncodedGlyph
Source§impl PartialEq for EncodedGlyph
impl PartialEq for EncodedGlyph
impl StructuralPartialEq for EncodedGlyph
Auto Trait Implementations§
impl Freeze for EncodedGlyph
impl RefUnwindSafe for EncodedGlyph
impl Send for EncodedGlyph
impl Sync for EncodedGlyph
impl Unpin for EncodedGlyph
impl UnwindSafe for EncodedGlyph
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