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