Struct trustfall_core::interpreter::EdgeInfo
source · #[non_exhaustive]pub struct EdgeInfo { /* private fields */ }
Expand description
Information about an edge that is being resolved as part of a query.
Implementations§
source§impl EdgeInfo
impl EdgeInfo
sourcepub fn parameters(&self) -> &EdgeParameters
pub fn parameters(&self) -> &EdgeParameters
The values with which this edge was parameterized.
sourcepub fn destination(&self) -> &NeighborInfo ⓘ
pub fn destination(&self) -> &NeighborInfo ⓘ
Info about the vertex to which this edge points.
Trait Implementations§
source§impl PartialEq for EdgeInfo
impl PartialEq for EdgeInfo
impl Eq for EdgeInfo
impl StructuralEq for EdgeInfo
impl StructuralPartialEq for EdgeInfo
Auto Trait Implementations§
impl RefUnwindSafe for EdgeInfo
impl Send for EdgeInfo
impl Sync for EdgeInfo
impl Unpin for EdgeInfo
impl UnwindSafe for EdgeInfo
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.