pub struct CBranch {
pub condition: LocalValueId,
pub success_block: LocalBlockId,
pub success_args: Vec<LocalValueId>,
pub failure_block: LocalBlockId,
pub failure_args: Vec<LocalValueId>,
}Fields§
§condition: LocalValueId§success_block: LocalBlockIdTaken-arm CFG successor (bare body-local index; same arena as this
terminator — see Branch::target).
success_args: Vec<LocalValueId>Arguments passed to success_block’s parameters when the branch is taken.
failure_block: LocalBlockIdFall-through CFG successor (bare body-local index; same arena as this terminator).
failure_args: Vec<LocalValueId>Arguments passed to failure_block’s parameters when the branch falls through.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CBranch
impl<'de> Deserialize<'de> for CBranch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CBranch
impl StructuralPartialEq for CBranch
Auto Trait Implementations§
impl Freeze for CBranch
impl RefUnwindSafe for CBranch
impl Send for CBranch
impl Sync for CBranch
impl Unpin for CBranch
impl UnsafeUnpin for CBranch
impl UnwindSafe for CBranch
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