pub struct PredicateId(/* private fields */);Implementations§
Source§impl PredicateId
impl PredicateId
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 PredicateId
impl Clone for PredicateId
Source§fn clone(&self) -> PredicateId
fn clone(&self) -> PredicateId
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 PredicateId
impl Debug for PredicateId
Source§impl<'de> Deserialize<'de> for PredicateId
impl<'de> Deserialize<'de> for PredicateId
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 PredicateId
impl Hash for PredicateId
Source§impl Index<PredicateId> for SymbolicFlowGraph
impl Index<PredicateId> for SymbolicFlowGraph
Source§type Output = PredicateInst
type Output = PredicateInst
The returned type after indexing.
Source§fn index(&self, id: PredicateId) -> &PredicateInst
fn index(&self, id: PredicateId) -> &PredicateInst
Performs the indexing (
container[index]) operation. Read moreSource§impl Ord for PredicateId
impl Ord for PredicateId
Source§fn cmp(&self, other: &PredicateId) -> Ordering
fn cmp(&self, other: &PredicateId) -> 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 PredicateId
impl PartialEq for PredicateId
Source§fn eq(&self, other: &PredicateId) -> bool
fn eq(&self, other: &PredicateId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PredicateId
impl PartialOrd for PredicateId
Source§impl Serialize for PredicateId
impl Serialize for PredicateId
impl Copy for PredicateId
impl Eq for PredicateId
impl StructuralPartialEq for PredicateId
Auto Trait Implementations§
impl Freeze for PredicateId
impl RefUnwindSafe for PredicateId
impl Send for PredicateId
impl Sync for PredicateId
impl Unpin for PredicateId
impl UnsafeUnpin for PredicateId
impl UnwindSafe for PredicateId
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