Struct rustc_ast_pretty::pprust::state::expr::FixupContext
source · pub(crate) struct FixupContext {
pub parenthesize_exterior_struct_lit: bool,
}Fields§
§parenthesize_exterior_struct_lit: boolTrait Implementations§
source§impl Clone for FixupContext
impl Clone for FixupContext
source§fn clone(&self) -> FixupContext
fn clone(&self) -> FixupContext
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 FixupContext
impl Debug for FixupContext
source§impl Default for FixupContext
impl Default for FixupContext
The default amount of fixing is minimal fixing. Fixups should be turned on in a targetted fashion where needed.
impl Copy for FixupContext
Auto Trait Implementations§
impl RefUnwindSafe for FixupContext
impl Send for FixupContext
impl Sync for FixupContext
impl Unpin for FixupContext
impl UnwindSafe for FixupContext
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