Enum rustc_hir_typeck::op::IsAssign
source · enum IsAssign {
No,
Yes,
}
Expand description
Whether the binary operation is an assignment (a += b
), or not (a + b
)
Variants§
Trait Implementations§
source§impl PartialEq<IsAssign> for IsAssign
impl PartialEq<IsAssign> for IsAssign
impl Copy for IsAssign
impl StructuralPartialEq for IsAssign
Auto Trait Implementations§
impl RefUnwindSafe for IsAssign
impl Send for IsAssign
impl Sync for IsAssign
impl Unpin for IsAssign
impl UnwindSafe for IsAssign
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
No
: 0 bytesYes
: 0 bytes