pub struct GraphContext {
pub root_entity: Entity,
pub neighbors: Vec<Neighbor>,
}Expand description
Graph context for an entity (root + neighbors).
Fields§
§root_entity: Entity§neighbors: Vec<Neighbor>Trait Implementations§
Source§impl Clone for GraphContext
impl Clone for GraphContext
Source§fn clone(&self) -> GraphContext
fn clone(&self) -> GraphContext
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 GraphContext
impl Debug for GraphContext
Source§impl<'de> Deserialize<'de> for GraphContext
impl<'de> Deserialize<'de> for GraphContext
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
Auto Trait Implementations§
impl Freeze for GraphContext
impl RefUnwindSafe for GraphContext
impl Send for GraphContext
impl Sync for GraphContext
impl Unpin for GraphContext
impl UnsafeUnpin for GraphContext
impl UnwindSafe for GraphContext
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