pub struct Argument {
pub tag: String,
pub by_reference: bool,
pub array: bool,
}Expand description
One argument of a declaration, reduced to what both sides can state.
Fields§
§tag: StringFloat: and friends, lowercased without the colon; empty when untagged.
by_reference: boolDeclared as &arg.
array: boolDeclared as arg[].
Trait Implementations§
impl Eq for Argument
impl StructuralPartialEq for Argument
Auto Trait Implementations§
impl Freeze for Argument
impl RefUnwindSafe for Argument
impl Send for Argument
impl Sync for Argument
impl Unpin for Argument
impl UnsafeUnpin for Argument
impl UnwindSafe for Argument
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