pub struct ScalarSignature { /* private fields */ }Expand description
One overload of a scalar function: a parameter shape and a return type.
Implementations§
Source§impl ScalarSignature
impl ScalarSignature
Sourcepub fn exact(parameters: Vec<LogicalType>, return_type: LogicalType) -> Self
pub fn exact(parameters: Vec<LogicalType>, return_type: LogicalType) -> Self
A signature with a fixed list of parameter types.
Sourcepub fn variadic(parameter: LogicalType, return_type: LogicalType) -> Self
pub fn variadic(parameter: LogicalType, return_type: LogicalType) -> Self
A signature accepting any number of arguments of parameter’s type.
Auto Trait Implementations§
impl !Send for ScalarSignature
impl !Sync for ScalarSignature
impl Freeze for ScalarSignature
impl RefUnwindSafe for ScalarSignature
impl Unpin for ScalarSignature
impl UnsafeUnpin for ScalarSignature
impl UnwindSafe for ScalarSignature
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