pub struct CondBranch(/* private fields */);
Implementations§
Source§impl CondBranch
impl CondBranch
pub fn new( context: &Context, cond: &Value, args_true: &[Value], args_false: &[Value], succ_true: &Block, succ_false: &Block, loc: &Location, ) -> Self
pub fn get(&self) -> &MlirOperation
pub fn get_mut(&mut self) -> &mut MlirOperation
pub fn get_successor_false(&self) -> Block ⓘ
pub fn get_successor_true(&self) -> Block ⓘ
Trait Implementations§
Source§impl Clone for CondBranch
impl Clone for CondBranch
Source§fn clone(&self) -> CondBranch
fn clone(&self) -> CondBranch
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 From<MlirOperation> for CondBranch
impl From<MlirOperation> for CondBranch
Source§fn from(op: MlirOperation) -> Self
fn from(op: MlirOperation) -> Self
Converts to this type from the input type.
Source§impl IOperation for CondBranch
impl IOperation for CondBranch
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 CondBranch
impl RefUnwindSafe for CondBranch
impl !Send for CondBranch
impl !Sync for CondBranch
impl Unpin for CondBranch
impl UnwindSafe for CondBranch
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