Struct melior::ir::operation::OperationPrintingFlags
source · pub struct OperationPrintingFlags(/* private fields */);
Expand description
Operation printing flags.
Implementations§
source§impl OperationPrintingFlags
impl OperationPrintingFlags
sourcepub fn elide_large_elements_attributes(self, limit: usize) -> Self
pub fn elide_large_elements_attributes(self, limit: usize) -> Self
Elides large elements attributes.
sourcepub fn enable_debug_info(self, enabled: bool, pretty_form: bool) -> Self
pub fn enable_debug_info(self, enabled: bool, pretty_form: bool) -> Self
Enables debug info.
sourcepub fn print_generic_operation_form(self) -> Self
pub fn print_generic_operation_form(self) -> Self
Prints operations in a generic form.
sourcepub fn use_local_scope(self) -> Self
pub fn use_local_scope(self) -> Self
Uses local scope.
sourcepub const fn to_raw(&self) -> MlirOpPrintingFlags
pub const fn to_raw(&self) -> MlirOpPrintingFlags
Converts a printing flags into a raw object.
Trait Implementations§
source§impl Debug for OperationPrintingFlags
impl Debug for OperationPrintingFlags
source§impl Default for OperationPrintingFlags
impl Default for OperationPrintingFlags
Auto Trait Implementations§
impl RefUnwindSafe for OperationPrintingFlags
impl !Send for OperationPrintingFlags
impl !Sync for OperationPrintingFlags
impl Unpin for OperationPrintingFlags
impl UnwindSafe for OperationPrintingFlags
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