Struct fmt_extra::Hs [−][src]
pub struct Hs<T>(pub T);
A wrapper around anything that dereferences to a byte slice ([u8]
) that displays it's
contents as a hexidicimal string.
Trait Implementations
impl<T: Clone> Clone for Hs<T>
[src]
impl<T: Clone> Clone for Hs<T>
fn clone(&self) -> Hs<T>
[src]
fn clone(&self) -> Hs<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<T: PartialEq> PartialEq for Hs<T>
[src]
impl<T: PartialEq> PartialEq for Hs<T>
fn eq(&self, other: &Hs<T>) -> bool
[src]
fn eq(&self, other: &Hs<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Hs<T>) -> bool
[src]
fn ne(&self, other: &Hs<T>) -> bool
This method tests for !=
.
impl<T: Eq> Eq for Hs<T>
[src]
impl<T: Eq> Eq for Hs<T>
impl<T: AsRef<[u8]>> Display for Hs<T>
[src]
impl<T: AsRef<[u8]>> Display for Hs<T>
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<T: AsRef<[u8]>> Debug for Hs<T>
[src]
impl<T: AsRef<[u8]>> Debug for Hs<T>
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<T> Deref for Hs<T>
[src]
impl<T> Deref for Hs<T>
type Target = T
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
fn deref(&self) -> &Self::Target
Dereferences the value.
impl<T> DerefMut for Hs<T>
[src]
impl<T> DerefMut for Hs<T>