Enum rustc_parse::parser::diagnostics::UnaryFixity
source · enum UnaryFixity {
Pre,
Post,
}
Variants§
Trait Implementations§
source§impl Clone for UnaryFixity
impl Clone for UnaryFixity
source§fn clone(&self) -> UnaryFixity
fn clone(&self) -> UnaryFixity
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 UnaryFixity
impl Debug for UnaryFixity
source§impl Display for UnaryFixity
impl Display for UnaryFixity
source§impl PartialEq<UnaryFixity> for UnaryFixity
impl PartialEq<UnaryFixity> for UnaryFixity
source§fn eq(&self, other: &UnaryFixity) -> bool
fn eq(&self, other: &UnaryFixity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for UnaryFixity
impl Eq for UnaryFixity
impl StructuralEq for UnaryFixity
impl StructuralPartialEq for UnaryFixity
Auto Trait Implementations§
impl RefUnwindSafe for UnaryFixity
impl Send for UnaryFixity
impl Sync for UnaryFixity
impl Unpin for UnaryFixity
impl UnwindSafe for UnaryFixity
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:
Pre
: 0 bytesPost
: 0 bytes