pub struct Signature {
pub name: Option<Ident>,
pub params: Vec<TypedIdsNode>,
pub return_params: Vec<TypedIdsNode>,
}Fields§
§name: Option<Ident>§params: Vec<TypedIdsNode>§return_params: Vec<TypedIdsNode>Implementations§
Source§impl Signature
impl Signature
pub fn from_name(name: Option<Ident>) -> Self
pub fn with_params( self, params: Vec<TypedIdsNode>, return_params: Vec<TypedIdsNode>, ) -> Self
Trait 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 !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