pub enum Fixity {
Prefix,
Binary,
Postfix,
}Expand description
Operator positions, for the tables and errors.
§Examples
use lower_lang::Fixity;
assert_eq!(Fixity::Binary.arity(), 2);Variants§
Implementations§
Trait Implementations§
impl Copy for Fixity
impl Eq for Fixity
impl StructuralPartialEq for Fixity
Auto Trait Implementations§
impl Freeze for Fixity
impl RefUnwindSafe for Fixity
impl Send for Fixity
impl Sync for Fixity
impl Unpin for Fixity
impl UnsafeUnpin for Fixity
impl UnwindSafe for Fixity
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