pub struct ScalarSignature {
pub name: &'static str,
pub arity: Arity,
pub check: fn(&[TypedExpr]) -> Result<(), PlannerError>,
pub ret: ReturnRule,
pub meta: FnMeta,
}Fields§
§name: &'static str§arity: Arity§check: fn(&[TypedExpr]) -> Result<(), PlannerError>§ret: ReturnRule§meta: FnMetaTrait Implementations§
Source§impl Clone for ScalarSignature
impl Clone for ScalarSignature
Source§fn clone(&self) -> ScalarSignature
fn clone(&self) -> ScalarSignature
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Freeze for ScalarSignature
impl RefUnwindSafe for ScalarSignature
impl Send for ScalarSignature
impl Sync for ScalarSignature
impl Unpin for ScalarSignature
impl UnsafeUnpin for ScalarSignature
impl UnwindSafe for ScalarSignature
Blanket Implementations§
impl<T> Allocation for T
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