Struct pgx_pg_sys::ExtensibleNodeMethods
source · [−]#[repr(C)]pub struct ExtensibleNodeMethods {
pub extnodename: *const c_char,
pub node_size: Size,
pub nodeCopy: Option<unsafe extern "C" fn(newnode: *mut ExtensibleNode, oldnode: *const ExtensibleNode)>,
pub nodeEqual: Option<unsafe extern "C" fn(a: *const ExtensibleNode, b: *const ExtensibleNode) -> bool>,
pub nodeOut: Option<unsafe extern "C" fn(str_: *mut StringInfoData, node: *const ExtensibleNode)>,
pub nodeRead: Option<unsafe extern "C" fn(node: *mut ExtensibleNode)>,
}
Fields
extnodename: *const c_char
node_size: Size
nodeCopy: Option<unsafe extern "C" fn(newnode: *mut ExtensibleNode, oldnode: *const ExtensibleNode)>
nodeEqual: Option<unsafe extern "C" fn(a: *const ExtensibleNode, b: *const ExtensibleNode) -> bool>
nodeOut: Option<unsafe extern "C" fn(str_: *mut StringInfoData, node: *const ExtensibleNode)>
nodeRead: Option<unsafe extern "C" fn(node: *mut ExtensibleNode)>
Trait Implementations
sourceimpl Clone for ExtensibleNodeMethods
impl Clone for ExtensibleNodeMethods
sourcefn clone(&self) -> ExtensibleNodeMethods
fn clone(&self) -> ExtensibleNodeMethods
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 ExtensibleNodeMethods
impl Debug for ExtensibleNodeMethods
sourceimpl Default for ExtensibleNodeMethods
impl Default for ExtensibleNodeMethods
impl Copy for ExtensibleNodeMethods
Auto Trait Implementations
impl RefUnwindSafe for ExtensibleNodeMethods
impl !Send for ExtensibleNodeMethods
impl !Sync for ExtensibleNodeMethods
impl Unpin for ExtensibleNodeMethods
impl UnwindSafe for ExtensibleNodeMethods
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