pub struct HypernodeData<N> {
pub id: NodeId,
pub data: N,
pub position: Vec2,
}Fields§
§id: NodeId§data: N§position: Vec2Trait Implementations§
Source§impl<N: Clone> Clone for HypernodeData<N>
impl<N: Clone> Clone for HypernodeData<N>
Source§fn clone(&self) -> HypernodeData<N>
fn clone(&self) -> HypernodeData<N>
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 moreAuto Trait Implementations§
impl<N> Freeze for HypernodeData<N>where
N: Freeze,
impl<N> RefUnwindSafe for HypernodeData<N>where
N: RefUnwindSafe,
impl<N> Send for HypernodeData<N>where
N: Send,
impl<N> Sync for HypernodeData<N>where
N: Sync,
impl<N> Unpin for HypernodeData<N>where
N: Unpin,
impl<N> UnsafeUnpin for HypernodeData<N>where
N: UnsafeUnpin,
impl<N> UnwindSafe for HypernodeData<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