pub struct LayoutEngine<Vertex, Edge, Context> { /* private fields */ }Implementations§
Source§impl<Vertex, Edge, Context> LayoutEngine<Vertex, Edge, Context>where
Context: Default,
impl<Vertex, Edge, Context> LayoutEngine<Vertex, Edge, Context>where
Context: Default,
pub fn new( graph_loading_fn: GraphLoadingFn<Vertex, Edge, Context>, forces: Vec<Force<Vertex, Edge, Context>>, position_update_fn: PositionUpdateFn<Vertex, Context>, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<Vertex, Edge, Context> Freeze for LayoutEngine<Vertex, Edge, Context>where
Context: Freeze,
impl<Vertex, Edge, Context> RefUnwindSafe for LayoutEngine<Vertex, Edge, Context>
impl<Vertex, Edge, Context> Send for LayoutEngine<Vertex, Edge, Context>
impl<Vertex, Edge, Context> Sync for LayoutEngine<Vertex, Edge, Context>
impl<Vertex, Edge, Context> Unpin for LayoutEngine<Vertex, Edge, Context>
impl<Vertex, Edge, Context> UnsafeUnpin for LayoutEngine<Vertex, Edge, Context>where
Context: UnsafeUnpin,
impl<Vertex, Edge, Context> UnwindSafe for LayoutEngine<Vertex, Edge, Context>
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> 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