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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: PartialEq> PartialEq for Hs<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Eq> Eq for Hs<T>
[src]

impl<T: AsRef<[u8]>> Display for Hs<T>
[src]

Formats the value using the given formatter. Read more

impl<T: AsRef<[u8]>> Debug for Hs<T>
[src]

Formats the value using the given formatter. Read more

impl<T> Deref for Hs<T>
[src]

The resulting type after dereferencing.

Dereferences the value.

impl<T> DerefMut for Hs<T>
[src]

Mutably dereferences the value.

Auto Trait Implementations

impl<T> Send for Hs<T> where
    T: Send

impl<T> Sync for Hs<T> where
    T: Sync