Struct rustc_parse::parser::diagnostics::IncDecRecovery
source · [−]struct IncDecRecovery {
standalone: IsStandalone,
op: IncOrDec,
fixity: UnaryFixity,
}
Expand description
Information for emitting suggestions and recovering from
C-style i++
, --i
, etc.
Fields
standalone: IsStandalone
Is this increment/decrement its own statement?
op: IncOrDec
Is this an increment or decrement?
fixity: UnaryFixity
Is this pre- or postfix?
Trait Implementations
sourceimpl Clone for IncDecRecovery
impl Clone for IncDecRecovery
sourcefn clone(&self) -> IncDecRecovery
fn clone(&self) -> IncDecRecovery
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for IncDecRecovery
impl Debug for IncDecRecovery
impl Copy for IncDecRecovery
Auto Trait Implementations
impl RefUnwindSafe for IncDecRecovery
impl Send for IncDecRecovery
impl Sync for IncDecRecovery
impl Unpin for IncDecRecovery
impl UnwindSafe for IncDecRecovery
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn 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: 3 bytes