pub struct TerminatorId(/* private fields */);Implementations§
Source§impl TerminatorId
impl TerminatorId
Sourcepub const fn for_testing(raw: u32) -> Self
pub const fn for_testing(raw: u32) -> Self
Construct an ID from a raw integer for use in tests.
Only available when the test-support feature is
enabled, or within vane-core’s own test builds. The
resulting ID is not validated against any
SymbolicFlowGraph — callers are responsible for
keeping their fixture IDs internally consistent.
pub const fn get(self) -> u32
Trait Implementations§
Source§impl Clone for TerminatorId
impl Clone for TerminatorId
Source§fn clone(&self) -> TerminatorId
fn clone(&self) -> TerminatorId
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 Debug for TerminatorId
impl Debug for TerminatorId
Source§impl<'de> Deserialize<'de> for TerminatorId
impl<'de> Deserialize<'de> for TerminatorId
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
Source§impl Hash for TerminatorId
impl Hash for TerminatorId
Source§impl Index<TerminatorId> for SymbolicFlowGraph
impl Index<TerminatorId> for SymbolicFlowGraph
Source§type Output = Terminator
type Output = Terminator
The returned type after indexing.
Source§fn index(&self, id: TerminatorId) -> &Terminator
fn index(&self, id: TerminatorId) -> &Terminator
Performs the indexing (
container[index]) operation. Read moreSource§impl Ord for TerminatorId
impl Ord for TerminatorId
Source§fn cmp(&self, other: &TerminatorId) -> Ordering
fn cmp(&self, other: &TerminatorId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TerminatorId
impl PartialEq for TerminatorId
Source§fn eq(&self, other: &TerminatorId) -> bool
fn eq(&self, other: &TerminatorId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TerminatorId
impl PartialOrd for TerminatorId
Source§impl Serialize for TerminatorId
impl Serialize for TerminatorId
impl Copy for TerminatorId
impl Eq for TerminatorId
impl StructuralPartialEq for TerminatorId
Auto Trait Implementations§
impl Freeze for TerminatorId
impl RefUnwindSafe for TerminatorId
impl Send for TerminatorId
impl Sync for TerminatorId
impl Unpin for TerminatorId
impl UnsafeUnpin for TerminatorId
impl UnwindSafe for TerminatorId
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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