pub enum BinOpAssociativity {
Left,
Right,
}Expand description
Enum representing the associativity of a binary operator.
Variants§
Left
Left-associative operators group from the left.
Right
Right-associative operators group from the right.
Trait Implementations§
Source§impl Clone for BinOpAssociativity
impl Clone for BinOpAssociativity
Source§fn clone(&self) -> BinOpAssociativity
fn clone(&self) -> BinOpAssociativity
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BinOpAssociativity
impl Debug for BinOpAssociativity
Source§impl PartialEq for BinOpAssociativity
impl PartialEq for BinOpAssociativity
impl StructuralPartialEq for BinOpAssociativity
Auto Trait Implementations§
impl Freeze for BinOpAssociativity
impl RefUnwindSafe for BinOpAssociativity
impl Send for BinOpAssociativity
impl Sync for BinOpAssociativity
impl Unpin for BinOpAssociativity
impl UnwindSafe for BinOpAssociativity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)