Struct pgx_pg_sys::HASHCTL
source · [−]#[repr(C)]pub struct HASHCTL {
pub num_partitions: c_long,
pub ssize: c_long,
pub dsize: c_long,
pub max_dsize: c_long,
pub keysize: Size,
pub entrysize: Size,
pub hash: HashValueFunc,
pub match_: HashCompareFunc,
pub keycopy: HashCopyFunc,
pub alloc: HashAllocFunc,
pub hcxt: MemoryContext,
pub hctl: *mut HASHHDR,
}
Fields
num_partitions: c_long
ssize: c_long
dsize: c_long
max_dsize: c_long
keysize: Size
entrysize: Size
hash: HashValueFunc
match_: HashCompareFunc
keycopy: HashCopyFunc
alloc: HashAllocFunc
hcxt: MemoryContext
hctl: *mut HASHHDR
Trait Implementations
impl Copy for HASHCTL
Auto Trait Implementations
impl RefUnwindSafe for HASHCTL
impl !Send for HASHCTL
impl !Sync for HASHCTL
impl Unpin for HASHCTL
impl UnwindSafe for HASHCTL
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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