Struct plexus::graph::VertexOrphan
source · [−]pub struct VertexOrphan<'a, G> where
G: GraphData, { /* private fields */ }
Expand description
Orphan view of a vertex entity.
Implementations
sourceimpl<'a, G> VertexOrphan<'a, G> where
G: GraphData,
impl<'a, G> VertexOrphan<'a, G> where
G: GraphData,
pub fn position(&self) -> &VertexPosition<G> where
G::Vertex: AsPosition,
Trait Implementations
sourceimpl<'a, G> Borrow<VertexKey> for VertexOrphan<'a, G> where
G: GraphData,
impl<'a, G> Borrow<VertexKey> for VertexOrphan<'a, G> where
G: GraphData,
sourceimpl<'a, G> ClosedView for VertexOrphan<'a, G> where
G: GraphData,
impl<'a, G> ClosedView for VertexOrphan<'a, G> where
G: GraphData,
sourceimpl<'a, M, G> From<VertexView<&'a mut M>> for VertexOrphan<'a, G> where
M: AsStorageMut<Vertex<G>> + Parametric<Data = G>,
G: 'a + GraphData,
impl<'a, M, G> From<VertexView<&'a mut M>> for VertexOrphan<'a, G> where
M: AsStorageMut<Vertex<G>> + Parametric<Data = G>,
G: 'a + GraphData,
sourcefn from(vertex: VertexView<&'a mut M>) -> Self
fn from(vertex: VertexView<&'a mut M>) -> Self
Converts to this type from the input type.
sourceimpl<'a, G> Hash for VertexOrphan<'a, G> where
G: GraphData,
impl<'a, G> Hash for VertexOrphan<'a, G> where
G: GraphData,
sourceimpl<'a, G> PartialEq<VertexOrphan<'a, G>> for VertexOrphan<'a, G> where
G: GraphData,
impl<'a, G> PartialEq<VertexOrphan<'a, G>> for VertexOrphan<'a, G> where
G: GraphData,
impl<'a, G> Eq for VertexOrphan<'a, G> where
G: GraphData,
Auto Trait Implementations
impl<'a, G> RefUnwindSafe for VertexOrphan<'a, G> where
<G as GraphData>::Vertex: RefUnwindSafe,
impl<'a, G> Send for VertexOrphan<'a, G> where
<G as GraphData>::Vertex: Send,
impl<'a, G> Sync for VertexOrphan<'a, G> where
<G as GraphData>::Vertex: Sync,
impl<'a, G> Unpin for VertexOrphan<'a, G>
impl<'a, G> !UnwindSafe for VertexOrphan<'a, G>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> FromGeometry<T> for T
impl<T> FromGeometry<T> for T
fn from_geometry(other: T) -> T
sourceimpl<T, U> IntoGeometry<U> for T where
U: FromGeometry<T>,
impl<T, U> IntoGeometry<U> for T where
U: FromGeometry<T>,
fn into_geometry(self) -> U
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.