pub struct HexFormatted<T: Debug + Clone + Default>(pub T);
Tuple Fields§
§0: T
Trait Implementations§
Source§impl<T: Clone + Debug + Clone + Default> Clone for HexFormatted<T>
impl<T: Clone + Debug + Clone + Default> Clone for HexFormatted<T>
Source§fn clone(&self) -> HexFormatted<T>
fn clone(&self) -> HexFormatted<T>
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<T: Default + Debug + Clone + Default> Default for HexFormatted<T>
impl<T: Default + Debug + Clone + Default> Default for HexFormatted<T>
Source§fn default() -> HexFormatted<T>
fn default() -> HexFormatted<T>
Returns the “default value” for a type. Read more
Source§impl<'de, T: FromStr<Err = E> + Debug + Clone + Default, E: Display> Deserialize<'de> for HexFormatted<T>
impl<'de, T: FromStr<Err = E> + Debug + Clone + Default, E: Display> Deserialize<'de> for HexFormatted<T>
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<T> Freeze for HexFormatted<T>where
T: Freeze,
impl<T> RefUnwindSafe for HexFormatted<T>where
T: RefUnwindSafe,
impl<T> Send for HexFormatted<T>where
T: Send,
impl<T> Sync for HexFormatted<T>where
T: Sync,
impl<T> Unpin for HexFormatted<T>where
T: Unpin,
impl<T> UnwindSafe for HexFormatted<T>where
T: UnwindSafe,
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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