Struct pgrx_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§
source§impl Clone for CustomPathMethods
impl Clone for CustomPathMethods
source§fn clone(&self) -> CustomPathMethods
fn clone(&self) -> CustomPathMethods
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 more