pub struct FunBind {
pub doc: Option<DocComment>,
pub name: Ident,
pub clauses: Vec<Clause>,
pub span: Span,
}Expand description
A function binding.
Fields§
§doc: Option<DocComment>Documentation comment.
name: IdentThe function name.
clauses: Vec<Clause>The clauses (pattern matches).
span: SpanThe span.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FunBind
impl RefUnwindSafe for FunBind
impl Send for FunBind
impl Sync for FunBind
impl Unpin for FunBind
impl UnsafeUnpin for FunBind
impl UnwindSafe for FunBind
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