pub struct Entry {
pub name: QualifiedIdent,
pub args: Vec<Argument>,
pub typ: Box<Expr>,
pub rules: Vec<Rule>,
pub attrs: Attributes,
pub range: Range,
}
Expand description
An entry describes a function that is typed and has rules. The type of the function consists of the arguments @args@ and the return type @typ@.
Fields§
§name: QualifiedIdent
§args: Vec<Argument>
§typ: Box<Expr>
§rules: Vec<Rule>
§attrs: Attributes
§range: Range
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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