pub struct Print(/* private fields */);
Implementations§
Source§impl Print
impl Print
pub fn new( context: &Context, args: &[Value], p: PunctuationKind, loc: &Location, ) -> Self
pub fn new_string(context: &Context, s: &StringLiteral, loc: &Location) -> Self
pub fn from(op: MlirOperation) -> Self
pub fn get(&self) -> &MlirOperation
pub fn get_mut(&mut self) -> &mut MlirOperation
pub fn get_punctuation(&self) -> Option<Punctuation>
pub fn get_punctuation_kind(&self) -> Option<PunctuationKind>
pub fn get_string_literal(&self) -> Option<StringLiteral>
Trait Implementations§
Source§impl IOperation for Print
impl IOperation for Print
fn get(&self) -> &MlirOperation
fn get_dialect(&self) -> Dialect
fn get_effects(&self) -> MemoryEffectList
fn get_interfaces(&self) -> &'static [Interface]
fn get_mut(&mut self) -> &mut MlirOperation
fn get_name(&self) -> &'static str
fn get_op(&self) -> OpRef
fn get_traits(&self) -> &'static [Trait]
fn as_operation(&self) -> Operation ⓘ
Auto Trait Implementations§
impl Freeze for Print
impl RefUnwindSafe for Print
impl !Send for Print
impl !Sync for Print
impl Unpin for Print
impl UnwindSafe for Print
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