Struct rb_sys::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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl 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
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &st_hash_type) -> bool
fn ne(&self, other: &st_hash_type) -> bool
This method tests for !=.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more