Struct pgrx_pg_sys::MemoryContextData
source · #[repr(C)]pub struct MemoryContextData {
pub type_: NodeTag,
pub isReset: bool,
pub allowInCritSection: bool,
pub mem_allocated: Size,
pub methods: *const MemoryContextMethods,
pub parent: MemoryContext,
pub firstchild: MemoryContext,
pub prevchild: MemoryContext,
pub nextchild: MemoryContext,
pub name: *const c_char,
pub ident: *const c_char,
pub reset_cbs: *mut MemoryContextCallback,
}
Fields§
§type_: NodeTag
§isReset: bool
§allowInCritSection: bool
§mem_allocated: Size
§methods: *const MemoryContextMethods
§parent: MemoryContext
§firstchild: MemoryContext
§prevchild: MemoryContext
§nextchild: MemoryContext
§name: *const c_char
§ident: *const c_char
§reset_cbs: *mut MemoryContextCallback
Trait Implementations§
source§impl Clone for MemoryContextData
impl Clone for MemoryContextData
source§fn clone(&self) -> MemoryContextData
fn clone(&self) -> MemoryContextData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MemoryContextData
impl Debug for MemoryContextData
source§impl Default for MemoryContextData
impl Default for MemoryContextData
source§impl Display for MemoryContextData
impl Display for MemoryContextData
source§impl PgNode for MemoryContextData
impl PgNode for MemoryContextData
source§fn display_node(&self) -> String
fn display_node(&self) -> String
Format this node Read more
impl Copy for MemoryContextData
Auto Trait Implementations§
impl Freeze for MemoryContextData
impl RefUnwindSafe for MemoryContextData
impl !Send for MemoryContextData
impl !Sync for MemoryContextData
impl Unpin for MemoryContextData
impl UnwindSafe for MemoryContextData
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more