pub struct AsciiChar7Bit(/* private fields */);
Expand description
Special char with values restricted to 7-bit ascii table.
Can be parses from string as its only character.
Is NOT parsed from numeric representation like u8
would be.
Implementations§
Source§impl AsciiChar7Bit
impl AsciiChar7Bit
Trait Implementations§
Source§impl Clone for AsciiChar7Bit
impl Clone for AsciiChar7Bit
Source§fn clone(&self) -> AsciiChar7Bit
fn clone(&self) -> AsciiChar7Bit
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 Debug for AsciiChar7Bit
impl Debug for AsciiChar7Bit
Source§impl Display for AsciiChar7Bit
Displays self’s symbol, not ascii code.
impl Display for AsciiChar7Bit
Displays self’s symbol, not ascii code.
Source§impl From<AsciiChar7Bit> for u8
impl From<AsciiChar7Bit> for u8
Source§fn from(original: AsciiChar7Bit) -> Self
fn from(original: AsciiChar7Bit) -> Self
Converts to this type from the input type.
Source§impl FromStr for AsciiChar7Bit
Parses Self
from symbol, not intiger (ascii code).
impl FromStr for AsciiChar7Bit
Parses Self
from symbol, not intiger (ascii code).
Source§impl Hash for AsciiChar7Bit
impl Hash for AsciiChar7Bit
Source§impl Ord for AsciiChar7Bit
impl Ord for AsciiChar7Bit
Source§fn cmp(&self, other: &AsciiChar7Bit) -> Ordering
fn cmp(&self, other: &AsciiChar7Bit) -> 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 PartialEq for AsciiChar7Bit
impl PartialEq for AsciiChar7Bit
Source§impl PartialOrd for AsciiChar7Bit
impl PartialOrd for AsciiChar7Bit
impl Copy for AsciiChar7Bit
impl Eq for AsciiChar7Bit
impl StructuralPartialEq for AsciiChar7Bit
Auto Trait Implementations§
impl Freeze for AsciiChar7Bit
impl RefUnwindSafe for AsciiChar7Bit
impl Send for AsciiChar7Bit
impl Sync for AsciiChar7Bit
impl Unpin for AsciiChar7Bit
impl UnwindSafe for AsciiChar7Bit
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.