pub struct Hex<T>(pub T);Expand description
Bytes written as 0x-prefixed hexadecimal.
Tuple Fields§
§0: TTrait Implementations§
impl<T: Copy> Copy for Hex<T>
Source§impl<'de, const N: usize> Deserialize<'de> for Hex<[u8; N]>
impl<'de, const N: usize> Deserialize<'de> for Hex<[u8; N]>
Source§fn deserialize<D>(reader: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(reader: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'de> Deserialize<'de> for Hex<Vec<u8>>
impl<'de> Deserialize<'de> for Hex<Vec<u8>>
Source§fn deserialize<D>(reader: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(reader: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<T: Eq> Eq for Hex<T>
Source§impl<T: Ord> Ord for Hex<T>
impl<T: Ord> Ord for Hex<T>
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl<T: PartialOrd> PartialOrd for Hex<T>
impl<T: PartialOrd> PartialOrd for Hex<T>
impl<T: PartialEq> StructuralPartialEq for Hex<T>
Auto Trait Implementations§
impl<T> Freeze for Hex<T>where
T: Freeze,
impl<T> RefUnwindSafe for Hex<T>where
T: RefUnwindSafe,
impl<T> Send for Hex<T>where
T: Send,
impl<T> Sync for Hex<T>where
T: Sync,
impl<T> Unpin for Hex<T>where
T: Unpin,
impl<T> UnsafeUnpin for Hex<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Hex<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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<This> ShapeProgramExt<This> for This
impl<This> ShapeProgramExt<This> for This
Source§fn compile_shape<Program>(
&self,
program: Program,
) -> <Program as ShapeProgramAlg<This>>::Tywhere
Program: ShapeProgramAlg<This>,
fn compile_shape<Program>(
&self,
program: Program,
) -> <Program as ShapeProgramAlg<This>>::Tywhere
Program: ShapeProgramAlg<This>,
Folds a declaration with this interpretation.