Struct pgx_pg_sys::CustomPathMethods
source · [−]#[repr(C)]pub struct CustomPathMethods {
pub CustomName: *const c_char,
pub PlanCustomPath: Option<unsafe extern "C" fn(root: *mut PlannerInfo, rel: *mut RelOptInfo, best_path: *mut CustomPath, tlist: *mut List, clauses: *mut List, custom_plans: *mut List) -> *mut Plan>,
pub ReparameterizeCustomPathByChild: Option<unsafe extern "C" fn(root: *mut PlannerInfo, custom_private: *mut List, child_rel: *mut RelOptInfo) -> *mut List>,
}
Fields
CustomName: *const c_char
PlanCustomPath: Option<unsafe extern "C" fn(root: *mut PlannerInfo, rel: *mut RelOptInfo, best_path: *mut CustomPath, tlist: *mut List, clauses: *mut List, custom_plans: *mut List) -> *mut Plan>
ReparameterizeCustomPathByChild: Option<unsafe extern "C" fn(root: *mut PlannerInfo, custom_private: *mut List, child_rel: *mut RelOptInfo) -> *mut List>
Trait Implementations
sourceimpl Clone for CustomPathMethods
impl Clone for CustomPathMethods
sourcefn clone(&self) -> CustomPathMethods
fn clone(&self) -> CustomPathMethods
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 CustomPathMethods
impl Debug for CustomPathMethods
sourceimpl Default for CustomPathMethods
impl Default for CustomPathMethods
impl Copy for CustomPathMethods
Auto Trait Implementations
impl RefUnwindSafe for CustomPathMethods
impl !Send for CustomPathMethods
impl !Sync for CustomPathMethods
impl Unpin for CustomPathMethods
impl UnwindSafe for CustomPathMethods
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