pub struct FetchId(/* private fields */);Implementations§
Source§impl FetchId
impl FetchId
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<'de> Deserialize<'de> for FetchId
impl<'de> Deserialize<'de> for FetchId
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 Index<FetchId> for SymbolicFlowGraph
impl Index<FetchId> for SymbolicFlowGraph
Source§type Output = SymbolicFetchRef
type Output = SymbolicFetchRef
The returned type after indexing.
Source§impl Ord for FetchId
impl Ord for FetchId
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 PartialOrd for FetchId
impl PartialOrd for FetchId
impl Copy for FetchId
impl Eq for FetchId
impl StructuralPartialEq for FetchId
Auto Trait Implementations§
impl Freeze for FetchId
impl RefUnwindSafe for FetchId
impl Send for FetchId
impl Sync for FetchId
impl Unpin for FetchId
impl UnsafeUnpin for FetchId
impl UnwindSafe for FetchId
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