pub struct ValueFormat {
pub hex: Option<bool>,
/* private fields */
}
Expand description
Provides formatting information for a value.
Fields§
§hex: Option<bool>
Display the value in hex.
Implementations§
Trait Implementations§
Source§impl Clone for ValueFormat
impl Clone for ValueFormat
Source§fn clone(&self) -> ValueFormat
fn clone(&self) -> ValueFormat
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 Debug for ValueFormat
impl Debug for ValueFormat
Source§impl<'de> Deserialize<'de> for ValueFormat
impl<'de> Deserialize<'de> for ValueFormat
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
Source§impl PartialEq for ValueFormat
impl PartialEq for ValueFormat
Source§impl Serialize for ValueFormat
impl Serialize for ValueFormat
impl Eq for ValueFormat
impl StructuralPartialEq for ValueFormat
Auto Trait Implementations§
impl Freeze for ValueFormat
impl RefUnwindSafe for ValueFormat
impl Send for ValueFormat
impl Sync for ValueFormat
impl Unpin for ValueFormat
impl UnwindSafe for ValueFormat
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.