#[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 moreSource§impl Debug for CustomPathMethods
impl Debug for CustomPathMethods
Source§impl Default for CustomPathMethods
impl Default for CustomPathMethods
impl Copy for CustomPathMethods
Auto Trait Implementations§
impl Freeze for CustomPathMethods
impl RefUnwindSafe for CustomPathMethods
impl !Send for CustomPathMethods
impl !Sync for CustomPathMethods
impl Unpin for CustomPathMethods
impl UnwindSafe for CustomPathMethods
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