Struct rb_sys::bindings::st_hash_type
source · [−]#[repr(C)]pub struct st_hash_type {
pub compare: Option<unsafe extern "C" fn(arg1: st_data_t, arg2: st_data_t) -> c_int>,
pub hash: Option<unsafe extern "C" fn(arg1: st_data_t) -> st_index_t>,
}Fields
compare: Option<unsafe extern "C" fn(arg1: st_data_t, arg2: st_data_t) -> c_int>hash: Option<unsafe extern "C" fn(arg1: st_data_t) -> st_index_t>Trait Implementations
sourceimpl Clone for st_hash_type
impl Clone for st_hash_type
sourcefn clone(&self) -> st_hash_type
fn clone(&self) -> st_hash_type
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for st_hash_type
impl Debug for st_hash_type
sourceimpl PartialEq<st_hash_type> for st_hash_type
impl PartialEq<st_hash_type> for st_hash_type
sourcefn eq(&self, other: &st_hash_type) -> bool
fn eq(&self, other: &st_hash_type) -> bool
impl Copy for st_hash_type
impl Eq for st_hash_type
impl StructuralEq for st_hash_type
impl StructuralPartialEq for st_hash_type
Auto Trait Implementations
impl RefUnwindSafe for st_hash_type
impl Send for st_hash_type
impl Sync for st_hash_type
impl Unpin for st_hash_type
impl UnwindSafe for st_hash_type
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