Struct rustre_core::Signature
source · 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 !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