Struct ic::util::ascii_char::AsciiChar7Bit
source · 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
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
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§fn eq(&self, other: &AsciiChar7Bit) -> bool
fn eq(&self, other: &AsciiChar7Bit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AsciiChar7Bit
impl PartialOrd for AsciiChar7Bit
source§fn partial_cmp(&self, other: &AsciiChar7Bit) -> Option<Ordering>
fn partial_cmp(&self, other: &AsciiChar7Bit) -> 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 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