pub struct SubstMarker(pub InternString);Expand description
A marker for substitution in the graph.
Useful for programmatically defined operations to know the substitution of their input pattern.
Tuple Fields§
§0: InternStringTrait Implementations§
Source§impl Clone for SubstMarker
impl Clone for SubstMarker
Source§fn clone(&self) -> SubstMarker
fn clone(&self) -> SubstMarker
Returns a duplicate of the value. Read more
1.0.0 · 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 SubstMarker
impl Debug for SubstMarker
Source§impl<'de> Deserialize<'de> for SubstMarker
impl<'de> Deserialize<'de> for SubstMarker
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<'a> From<&'a str> for SubstMarker
impl<'a> From<&'a str> for SubstMarker
Source§impl From<InternString> for SubstMarker
impl From<InternString> for SubstMarker
Source§fn from(value: InternString) -> Self
fn from(value: InternString) -> Self
Converts to this type from the input type.
Source§impl From<String> for SubstMarker
impl From<String> for SubstMarker
Source§impl From<SubstMarker> for AbstractNodeId
impl From<SubstMarker> for AbstractNodeId
Source§fn from(value: SubstMarker) -> Self
fn from(value: SubstMarker) -> Self
Converts to this type from the input type.
Source§impl From<SubstMarker> for AbstractSignatureNodeId
impl From<SubstMarker> for AbstractSignatureNodeId
Source§fn from(value: SubstMarker) -> Self
fn from(value: SubstMarker) -> Self
Converts to this type from the input type.
Source§impl From<SubstMarker> for NodeMarker
impl From<SubstMarker> for NodeMarker
Source§fn from(value: SubstMarker) -> Self
fn from(value: SubstMarker) -> Self
Converts to this type from the input type.
Source§impl Hash for SubstMarker
impl Hash for SubstMarker
Source§impl PartialEq for SubstMarker
impl PartialEq for SubstMarker
Source§impl Serialize for SubstMarker
impl Serialize for SubstMarker
impl Copy for SubstMarker
impl Eq for SubstMarker
impl StructuralPartialEq for SubstMarker
Auto Trait Implementations§
impl Freeze for SubstMarker
impl RefUnwindSafe for SubstMarker
impl Send for SubstMarker
impl Sync for SubstMarker
impl Unpin for SubstMarker
impl UnwindSafe for SubstMarker
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.