pub struct NodeData<N> {
pub id: NodeId,
pub data: N,
pub position: Vec2,
pub weight: f32,
}Fields§
§id: NodeId§data: N§position: Vec2§weight: f32Trait Implementations§
Auto Trait Implementations§
impl<N> Freeze for NodeData<N>where
N: Freeze,
impl<N> RefUnwindSafe for NodeData<N>where
N: RefUnwindSafe,
impl<N> Send for NodeData<N>where
N: Send,
impl<N> Sync for NodeData<N>where
N: Sync,
impl<N> Unpin for NodeData<N>where
N: Unpin,
impl<N> UnsafeUnpin for NodeData<N>where
N: UnsafeUnpin,
impl<N> UnwindSafe for NodeData<N>where
N: 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