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_charPlanCustomPath: 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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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