pub struct Signature {
pub name: &'static str,
pub params: &'static [Param],
pub variadic: bool,
pub result: fn(&[Ty]) -> Result<Ty, Mismatch>,
}Fields§
§name: &'static str§params: &'static [Param]§variadic: booljoin takes two to MAX_WIDTH components; nothing else takes an open tail.
result: fn(&[Ty]) -> Result<Ty, Mismatch>Implementations§
Auto Trait Implementations§
impl Freeze for Signature
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin for Signature
impl UnsafeUnpin for Signature
impl UnwindSafe for Signature
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