Expand description
Represents an element in the hash table. Various operations on the hash table may provide pointers to elements stored within the hash table; generally, calling code may alter value, but must not alter key (or any information used to compute key’s hash code).
Pointers to elements within the hash are invalidated whenever an operation which may change the number of elements in the hash is invoked (i.e. put, delete, clear, and clean_up), regardless of whether the number of elements actually changes.
Fields
key: *const c_void
value: *mut c_void
Trait Implementations
sourceimpl Clone for aws_hash_element
impl Clone for aws_hash_element
sourcefn clone(&self) -> aws_hash_element
fn clone(&self) -> aws_hash_element
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for aws_hash_element
impl Debug for aws_hash_element
sourceimpl Default for aws_hash_element
impl Default for aws_hash_element
sourceimpl PartialEq<aws_hash_element> for aws_hash_element
impl PartialEq<aws_hash_element> for aws_hash_element
sourcefn eq(&self, other: &aws_hash_element) -> bool
fn eq(&self, other: &aws_hash_element) -> bool
impl Copy for aws_hash_element
impl Eq for aws_hash_element
impl StructuralEq for aws_hash_element
impl StructuralPartialEq for aws_hash_element
Auto Trait Implementations
impl RefUnwindSafe for aws_hash_element
impl !Send for aws_hash_element
impl !Sync for aws_hash_element
impl Unpin for aws_hash_element
impl UnwindSafe for aws_hash_element
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