pub struct Char(pub u8);
Expand description
A character in a TFM file.
TFM and PL files only support 1-byte characters.
Tuple Fields§
§0: u8
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Char
impl<'arbitrary> Arbitrary<'arbitrary> for Char
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moresource§impl Ord for Char
impl Ord for Char
source§impl PartialEq<Char> for Char
impl PartialEq<Char> for Char
source§impl PartialOrd<Char> for Char
impl PartialOrd<Char> for Char
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 Copy for Char
impl Eq for Char
impl StructuralEq for Char
impl StructuralPartialEq for Char
Auto Trait Implementations§
impl RefUnwindSafe for Char
impl Send for Char
impl Sync for Char
impl Unpin for Char
impl UnwindSafe for Char
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