pub struct CREDITS_VERIFYING_KEYS { /* private fields */ }
Methods from Deref<Target = IndexMap<String, Arc<CircuitVerifyingKey<<Console as Environment>::PairingCurve, MarlinHidingMode>>>>
sourcepub fn len(&self) -> usize
pub fn len(&self) -> usize
Return the number of key-value pairs in the map.
Computes in O(1) time.
sourcepub fn is_empty(&self) -> bool
pub fn is_empty(&self) -> bool
Returns true if the map contains no elements.
Computes in O(1) time.
sourcepub fn iter(&self) -> Iter<'_, K, V>
pub fn iter(&self) -> Iter<'_, K, V>
Return an iterator over the key-value pairs of the map, in their order
sourcepub fn contains_key<Q>(&self, key: &Q) -> boolwhere
Q: Hash + Equivalent<K> + ?Sized,
pub fn contains_key<Q>(&self, key: &Q) -> boolwhere
Q: Hash + Equivalent<K> + ?Sized,
Return true
if an equivalent to key
exists in the map.
Computes in O(1) time (average).
sourcepub fn get<Q>(&self, key: &Q) -> Option<&V>where
Q: Hash + Equivalent<K> + ?Sized,
pub fn get<Q>(&self, key: &Q) -> Option<&V>where
Q: Hash + Equivalent<K> + ?Sized,
Return a reference to the value stored for key
, if it is present,
else None
.
Computes in O(1) time (average).
sourcepub fn get_key_value<Q>(&self, key: &Q) -> Option<(&K, &V)>where
Q: Hash + Equivalent<K> + ?Sized,
pub fn get_key_value<Q>(&self, key: &Q) -> Option<(&K, &V)>where
Q: Hash + Equivalent<K> + ?Sized,
Return references to the key-value pair stored for key
,
if it is present, else None
.
Computes in O(1) time (average).
sourcepub fn get_full<Q>(&self, key: &Q) -> Option<(usize, &K, &V)>where
Q: Hash + Equivalent<K> + ?Sized,
pub fn get_full<Q>(&self, key: &Q) -> Option<(usize, &K, &V)>where
Q: Hash + Equivalent<K> + ?Sized,
Return item index, key and value
sourcepub fn get_index_of<Q>(&self, key: &Q) -> Option<usize>where
Q: Hash + Equivalent<K> + ?Sized,
pub fn get_index_of<Q>(&self, key: &Q) -> Option<usize>where
Q: Hash + Equivalent<K> + ?Sized,
Return item index, if it exists in the map
Computes in O(1) time (average).
Trait Implementations
sourceimpl Deref for CREDITS_VERIFYING_KEYS
impl Deref for CREDITS_VERIFYING_KEYS
type Target = IndexMap<String, Arc<CircuitVerifyingKey<<Console as Environment>::PairingCurve, MarlinHidingMode>>, RandomState>
type Target = IndexMap<String, Arc<CircuitVerifyingKey<<Console as Environment>::PairingCurve, MarlinHidingMode>>, RandomState>
The resulting type after dereferencing.
sourcefn deref(
&self
) -> &IndexMap<String, Arc<CircuitVerifyingKey<<Console as Environment>::PairingCurve, MarlinHidingMode>>>
fn deref(
&self
) -> &IndexMap<String, Arc<CircuitVerifyingKey<<Console as Environment>::PairingCurve, MarlinHidingMode>>>
Dereferences the value.
impl LazyStatic for CREDITS_VERIFYING_KEYS
Auto Trait Implementations
impl RefUnwindSafe for CREDITS_VERIFYING_KEYS
impl Send for CREDITS_VERIFYING_KEYS
impl Sync for CREDITS_VERIFYING_KEYS
impl Unpin for CREDITS_VERIFYING_KEYS
impl UnwindSafe for CREDITS_VERIFYING_KEYS
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more