Struct trustfall_core::ir::IRVertex
source · pub struct IRVertex {
pub vid: Vid,
pub type_name: Arc<str>,
pub coerced_from_type: Option<Arc<str>>,
pub filters: Vec<Operation<LocalField, Argument>>,
}
Expand description
Representation of a vertex (node) in the Trustfall intermediate representation (IR).
Fields§
§vid: Vid
§type_name: Arc<str>
The name of the type of the vertex as a string.
coerced_from_type: Option<Arc<str>>
§filters: Vec<Operation<LocalField, Argument>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for IRVertex
impl<'de> Deserialize<'de> for IRVertex
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 PartialEq for IRVertex
impl PartialEq for IRVertex
impl Eq for IRVertex
impl StructuralEq for IRVertex
impl StructuralPartialEq for IRVertex
Auto Trait Implementations§
impl RefUnwindSafe for IRVertex
impl Send for IRVertex
impl Sync for IRVertex
impl Unpin for IRVertex
impl UnwindSafe for IRVertex
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.