Struct melior::pass::external::ExternalPass
source · pub struct ExternalPass<'a> { /* private fields */ }
Implementations§
source§impl<'a> ExternalPass<'a>
impl<'a> ExternalPass<'a>
sourcepub fn signal_failure(self)
pub fn signal_failure(self)
Signals that the pass has failed.
sourcepub fn to_raw(self) -> MlirExternalPass
pub fn to_raw(self) -> MlirExternalPass
Converts an external pass to a raw object.
sourcepub const unsafe fn from_raw(raw: MlirExternalPass) -> Self
pub const unsafe fn from_raw(raw: MlirExternalPass) -> Self
Trait Implementations§
source§impl<'a> Clone for ExternalPass<'a>
impl<'a> Clone for ExternalPass<'a>
source§fn clone(&self) -> ExternalPass<'a>
fn clone(&self) -> ExternalPass<'a>
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<'a> Debug for ExternalPass<'a>
impl<'a> Debug for ExternalPass<'a>
impl<'a> Copy for ExternalPass<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ExternalPass<'a>
impl<'a> !Send for ExternalPass<'a>
impl<'a> !Sync for ExternalPass<'a>
impl<'a> Unpin for ExternalPass<'a>
impl<'a> UnwindSafe for ExternalPass<'a>
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