pub struct IrSerializeConfig {
pub format: IrFormat,
pub pretty: bool,
pub include_types: bool,
pub include_proofs: bool,
}Expand description
Configuration for the IR serializer.
Fields§
§format: IrFormatWhich wire format to emit.
pretty: boolWhether to pretty-print (indent) the output when supported.
include_types: boolInclude type signatures in the output.
include_proofs: boolInclude proof bodies in the output.
Trait Implementations§
Source§impl Clone for IrSerializeConfig
impl Clone for IrSerializeConfig
Source§fn clone(&self) -> IrSerializeConfig
fn clone(&self) -> IrSerializeConfig
Returns a duplicate 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 IrSerializeConfig
impl Debug for IrSerializeConfig
Auto Trait Implementations§
impl Freeze for IrSerializeConfig
impl RefUnwindSafe for IrSerializeConfig
impl Send for IrSerializeConfig
impl Sync for IrSerializeConfig
impl Unpin for IrSerializeConfig
impl UnsafeUnpin for IrSerializeConfig
impl UnwindSafe for IrSerializeConfig
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