pub struct Edge<G> {
pub start: VertexId,
pub end: VertexId,
pub curve: Option<G>,
}Expand description
Edge bounded by two vertices and optionally supported by exact curve data.
Fields§
§start: VertexIdStart vertex.
end: VertexIdEnd vertex.
curve: Option<G>Exact support curve handle; absent for a straight topological edge whose endpoints are sufficient.
Trait Implementations§
impl<G> StructuralPartialEq for Edge<G>
Auto Trait Implementations§
impl<G> Freeze for Edge<G>where
G: Freeze,
impl<G> RefUnwindSafe for Edge<G>where
G: RefUnwindSafe,
impl<G> Send for Edge<G>where
G: Send,
impl<G> Sync for Edge<G>where
G: Sync,
impl<G> Unpin for Edge<G>where
G: Unpin,
impl<G> UnwindSafe for Edge<G>where
G: UnwindSafe,
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more