[−][src]Struct postgres_parser::sys::MemoryContextMethods
Fields
alloc: Option<unsafe extern "C" fn(context: MemoryContext, size: Size) -> *mut c_void>free_p: Option<unsafe extern "C" fn(context: MemoryContext, pointer: *mut c_void)>realloc: Option<unsafe extern "C" fn(context: MemoryContext, pointer: *mut c_void, size: Size) -> *mut c_void>reset: Option<unsafe extern "C" fn(context: MemoryContext)>delete_context: Option<unsafe extern "C" fn(context: MemoryContext)>get_chunk_space: Option<unsafe extern "C" fn(context: MemoryContext, pointer: *mut c_void) -> Size>is_empty: Option<unsafe extern "C" fn(context: MemoryContext) -> bool>stats: Option<unsafe extern "C" fn(context: MemoryContext, printfunc: MemoryStatsPrintFunc, passthru: *mut c_void, totals: *mut MemoryContextCounters)>Trait Implementations
impl Debug for MemoryContextMethods[src]
impl Default for MemoryContextMethods[src]
fn default() -> MemoryContextMethods[src]
impl Eq for MemoryContextMethods[src]
impl Hash for MemoryContextMethods[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<MemoryContextMethods> for MemoryContextMethods[src]
fn eq(&self, other: &MemoryContextMethods) -> bool[src]
fn ne(&self, other: &MemoryContextMethods) -> bool[src]
impl StructuralEq for MemoryContextMethods[src]
impl StructuralPartialEq for MemoryContextMethods[src]
Auto Trait Implementations
impl RefUnwindSafe for MemoryContextMethods
impl Send for MemoryContextMethods
impl Sync for MemoryContextMethods
impl Unpin for MemoryContextMethods
impl UnwindSafe for MemoryContextMethods
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,