pub struct Encoded<'a>(EncodedRepr<'a>);Expand description
A name or language tag in its source encoding.
SFNT UTF-16BE and Mac Roman strings are decoded when displayed or compared, without allocating. Type 1 and standalone CFF names and built-in language tags borrow UTF-8 text directly.
Tuple Fields§
§0: EncodedRepr<'a>Implementations§
Trait Implementations§
impl<'a> Copy for Encoded<'a>
impl Eq for Encoded<'_>
Source§impl PartialOrd<&str> for Encoded<'_>
impl PartialOrd<&str> for Encoded<'_>
Source§impl<'a, 'b> PartialOrd<Encoded<'b>> for Encoded<'a>
impl<'a, 'b> PartialOrd<Encoded<'b>> for Encoded<'a>
Auto Trait Implementations§
impl<'a> Freeze for Encoded<'a>
impl<'a> RefUnwindSafe for Encoded<'a>
impl<'a> Send for Encoded<'a>
impl<'a> Sync for Encoded<'a>
impl<'a> Unpin for Encoded<'a>
impl<'a> UnsafeUnpin for Encoded<'a>
impl<'a> UnwindSafe for Encoded<'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