[][src]Struct libembroidery_sys::HashTable

#[repr(C)]
pub struct HashTable { pub numOfBuckets: c_long, pub numOfElements: c_long, pub bucketArray: *mut *mut KeyValuePair, pub idealRatio: f32, pub lowerRehashThreshold: f32, pub upperRehashThreshold: f32, pub keycmp: Option<unsafe extern "C" fn(key1: *const c_void, key2: *const c_void) -> c_int>, pub valuecmp: Option<unsafe extern "C" fn(value1: *const c_void, value2: *const c_void) -> c_int>, pub hashFunction: Option<unsafe extern "C" fn(key: *const c_void) -> c_ulong>, pub keyDeallocator: Option<unsafe extern "C" fn(key: *mut c_void)>, pub valueDeallocator: Option<unsafe extern "C" fn(value: *mut c_void)>, }

Fields

numOfBuckets: c_longnumOfElements: c_longbucketArray: *mut *mut KeyValuePairidealRatio: f32lowerRehashThreshold: f32upperRehashThreshold: f32keycmp: Option<unsafe extern "C" fn(key1: *const c_void, key2: *const c_void) -> c_int>valuecmp: Option<unsafe extern "C" fn(value1: *const c_void, value2: *const c_void) -> c_int>hashFunction: Option<unsafe extern "C" fn(key: *const c_void) -> c_ulong>keyDeallocator: Option<unsafe extern "C" fn(key: *mut c_void)>valueDeallocator: Option<unsafe extern "C" fn(value: *mut c_void)>

Trait Implementations

impl Copy for HashTable[src]

impl Clone for HashTable[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for HashTable[src]

Auto Trait Implementations

impl !Send for HashTable

impl !Sync for HashTable

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.