Struct substrait_expr::builder::functions::FunctionImplementation
source · pub struct FunctionImplementation {
pub args: Vec<ImplementationArg>,
pub output_type: FunctionReturn,
}Expand description
A potential implementation of a function
Fields§
§args: Vec<ImplementationArg>The input arguments
output_type: FunctionReturnThe type that should be output from the function
Implementations§
source§impl FunctionImplementation
impl FunctionImplementation
sourcepub fn matches(&self, arg_types: &[Type], registry: &ExtensionsRegistry) -> bool
pub fn matches(&self, arg_types: &[Type], registry: &ExtensionsRegistry) -> bool
Returns true if expressions with types specified by arg_types would match this implementation
Trait Implementations§
source§impl Clone for FunctionImplementation
impl Clone for FunctionImplementation
source§fn clone(&self) -> FunctionImplementation
fn clone(&self) -> FunctionImplementation
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 moreAuto Trait Implementations§
impl RefUnwindSafe for FunctionImplementation
impl Send for FunctionImplementation
impl Sync for FunctionImplementation
impl Unpin for FunctionImplementation
impl UnwindSafe for FunctionImplementation
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