Struct rustre_core::TypedSignature
source · pub struct TypedSignature {
pub name: Option<Ident>,
pub params: Vec<(Ident, Type)>,
pub return_params: Vec<(Ident, Type)>,
}
Fields§
§name: Option<Ident>
§params: Vec<(Ident, Type)>
§return_params: Vec<(Ident, Type)>
Implementations§
Trait Implementations§
source§impl Clone for TypedSignature
impl Clone for TypedSignature
source§fn clone(&self) -> TypedSignature
fn clone(&self) -> TypedSignature
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 TypedSignature
impl Debug for TypedSignature
Auto Trait Implementations§
impl !RefUnwindSafe for TypedSignature
impl !Send for TypedSignature
impl !Sync for TypedSignature
impl Unpin for TypedSignature
impl !UnwindSafe for TypedSignature
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