pub struct InfixDef {
pub direction: Spanned<InfixDirection>,
pub precedence: Spanned<Precedence>,
pub operator: Spanned<Ident>,
pub function: Spanned<Ident>,
}Expand description
An infix operator definition.
infix left 6 (+) = add
Fields§
§direction: Spanned<InfixDirection>§precedence: Spanned<Precedence>§operator: Spanned<Ident>§function: Spanned<Ident>Trait Implementations§
impl Eq for InfixDef
impl StructuralPartialEq for InfixDef
Auto Trait Implementations§
impl Freeze for InfixDef
impl RefUnwindSafe for InfixDef
impl Send for InfixDef
impl Sync for InfixDef
impl Unpin for InfixDef
impl UnsafeUnpin for InfixDef
impl UnwindSafe for InfixDef
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