Struct embedded_graphics::mono_font::mapping::StrGlyphMapping
source · pub struct StrGlyphMapping<'a> { /* private fields */ }
Expand description
Glyph mapping stored as a UTF-8 string.
See the module-level documentation for more details.
Implementations§
Trait Implementations§
source§impl<'a> Clone for StrGlyphMapping<'a>
impl<'a> Clone for StrGlyphMapping<'a>
source§fn clone(&self) -> StrGlyphMapping<'a>
fn clone(&self) -> StrGlyphMapping<'a>
Returns a copy 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<'a> Debug for StrGlyphMapping<'a>
impl<'a> Debug for StrGlyphMapping<'a>
source§impl GlyphMapping for StrGlyphMapping<'_>
impl GlyphMapping for StrGlyphMapping<'_>
source§impl<'a> Hash for StrGlyphMapping<'a>
impl<'a> Hash for StrGlyphMapping<'a>
source§impl<'a> Ord for StrGlyphMapping<'a>
impl<'a> Ord for StrGlyphMapping<'a>
source§fn cmp(&self, other: &StrGlyphMapping<'a>) -> Ordering
fn cmp(&self, other: &StrGlyphMapping<'a>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'a> PartialEq<StrGlyphMapping<'a>> for StrGlyphMapping<'a>
impl<'a> PartialEq<StrGlyphMapping<'a>> for StrGlyphMapping<'a>
source§fn eq(&self, other: &StrGlyphMapping<'a>) -> bool
fn eq(&self, other: &StrGlyphMapping<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> PartialOrd<StrGlyphMapping<'a>> for StrGlyphMapping<'a>
impl<'a> PartialOrd<StrGlyphMapping<'a>> for StrGlyphMapping<'a>
source§fn partial_cmp(&self, other: &StrGlyphMapping<'a>) -> Option<Ordering>
fn partial_cmp(&self, other: &StrGlyphMapping<'a>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<'a> Copy for StrGlyphMapping<'a>
impl<'a> Eq for StrGlyphMapping<'a>
impl<'a> StructuralEq for StrGlyphMapping<'a>
impl<'a> StructuralPartialEq for StrGlyphMapping<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for StrGlyphMapping<'a>
impl<'a> Send for StrGlyphMapping<'a>
impl<'a> Sync for StrGlyphMapping<'a>
impl<'a> Unpin for StrGlyphMapping<'a>
impl<'a> UnwindSafe for StrGlyphMapping<'a>
Blanket Implementations§
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where T: CheckedCast<Dst>,
Casts the value.
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where T: OverflowingCast<Dst>,
Casts the value.
source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere T: SaturatingCast<Dst>,
Casts the value.
source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere T: UnwrappedCast<Dst>,
Casts the value.
source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere T: WrappingCast<Dst>,
Casts the value.
source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere Src: WrappingCast<Dst>,
source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.