pub struct BranchTarget<Id> {
pub from: Id,
pub to: TargetLocation<Id>,
}Expand description
A branch edge to validate and freeze into the target map.
Fields§
§from: IdIdentity of the instruction containing the branch.
to: TargetLocation<Id>Requested destination.
Trait Implementations§
Source§impl<Id: Clone> Clone for BranchTarget<Id>
impl<Id: Clone> Clone for BranchTarget<Id>
Source§fn clone(&self) -> BranchTarget<Id>
fn clone(&self) -> BranchTarget<Id>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<Id: Debug> Debug for BranchTarget<Id>
impl<Id: Debug> Debug for BranchTarget<Id>
impl<Id: Eq> Eq for BranchTarget<Id>
Source§impl<Id: PartialEq> PartialEq for BranchTarget<Id>
impl<Id: PartialEq> PartialEq for BranchTarget<Id>
impl<Id: PartialEq> StructuralPartialEq for BranchTarget<Id>
Auto Trait Implementations§
impl<Id> Freeze for BranchTarget<Id>where
Id: Freeze,
impl<Id> RefUnwindSafe for BranchTarget<Id>where
Id: RefUnwindSafe,
impl<Id> Send for BranchTarget<Id>where
Id: Send,
impl<Id> Sync for BranchTarget<Id>where
Id: Sync,
impl<Id> Unpin for BranchTarget<Id>where
Id: Unpin,
impl<Id> UnsafeUnpin for BranchTarget<Id>where
Id: UnsafeUnpin,
impl<Id> UnwindSafe for BranchTarget<Id>where
Id: UnwindSafe,
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