pub enum Fixity {
InfixLeft,
InfixRight,
Infix,
Prefix,
Postfix,
}Expand description
Fixity of an operator notation.
Variants§
InfixLeft
Left-associative infix operator (e.g., +).
InfixRight
Right-associative infix operator (e.g., ^).
Infix
Non-associative infix operator.
Prefix
Prefix operator (e.g., -).
Postfix
Postfix operator.
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