Struct snarkvm_utilities::serialize::EmptyFlags
source · pub struct EmptyFlags;
Expand description
Flags to be encoded into the serialization.
Trait Implementations§
source§impl Clone for EmptyFlags
impl Clone for EmptyFlags
source§fn clone(&self) -> EmptyFlags
fn clone(&self) -> EmptyFlags
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 Default for EmptyFlags
impl Default for EmptyFlags
source§fn default() -> EmptyFlags
fn default() -> EmptyFlags
Returns the “default value” for a type. Read more
source§impl Flags for EmptyFlags
impl Flags for EmptyFlags
source§impl PartialEq<EmptyFlags> for EmptyFlags
impl PartialEq<EmptyFlags> for EmptyFlags
source§fn eq(&self, other: &EmptyFlags) -> bool
fn eq(&self, other: &EmptyFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EmptyFlags
impl Eq for EmptyFlags
impl StructuralEq for EmptyFlags
impl StructuralPartialEq for EmptyFlags
Auto Trait Implementations§
impl RefUnwindSafe for EmptyFlags
impl Send for EmptyFlags
impl Sync for EmptyFlags
impl Unpin for EmptyFlags
impl UnwindSafe for EmptyFlags
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.