pub struct Hexadecimal(/* private fields */);Expand description
A string of hexadecimal digits.
Implementations§
Source§impl Hexadecimal
impl Hexadecimal
Sourcepub fn from_str_unchecked(s: &str) -> Self
pub fn from_str_unchecked(s: &str) -> Self
Sourcepub fn shallow_clone(&self) -> Self
pub fn shallow_clone(&self) -> Self
Make a cheap copy of the name.
Trait Implementations§
Source§impl Clone for Hexadecimal
impl Clone for Hexadecimal
Source§fn clone(&self) -> Hexadecimal
fn clone(&self) -> Hexadecimal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Hexadecimal
impl Debug for Hexadecimal
Source§impl Display for Hexadecimal
impl Display for Hexadecimal
impl Eq for Hexadecimal
Source§impl Hash for Hexadecimal
impl Hash for Hexadecimal
Source§impl Ord for Hexadecimal
impl Ord for Hexadecimal
Source§fn cmp(&self, other: &Hexadecimal) -> Ordering
fn cmp(&self, other: &Hexadecimal) -> Ordering
1.21.0 (const: unstable) · 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 Hexadecimal
impl PartialEq for Hexadecimal
Source§impl PartialOrd for Hexadecimal
impl PartialOrd for Hexadecimal
impl StructuralPartialEq for Hexadecimal
Auto Trait Implementations§
impl Freeze for Hexadecimal
impl RefUnwindSafe for Hexadecimal
impl Send for Hexadecimal
impl Sync for Hexadecimal
impl Unpin for Hexadecimal
impl UnsafeUnpin for Hexadecimal
impl UnwindSafe for Hexadecimal
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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 more