pub struct FnSig {
pub asyncness: Async,
pub ident: Option<Ident>,
pub generics: Generics,
pub params: RefineParams,
pub requires: Vec<Requires>,
pub inputs: Vec<FnInput>,
pub output: FnOutput,
pub span: Span,
pub node_id: NodeId,
}
Fields§
§asyncness: Async
§ident: Option<Ident>
§generics: Generics
§params: RefineParams
§requires: Vec<Requires>
example: requires n > 0
inputs: Vec<FnInput>
example: i32<@n>
output: FnOutput
§span: Span
source span
node_id: NodeId
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FnSig
impl RefUnwindSafe for FnSig
impl Send for FnSig
impl Sync for FnSig
impl Unpin for FnSig
impl UnwindSafe for FnSig
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