pub struct Node<S>where
S: ModifiableState,{
parent: usize,
child: usize,
prev: usize,
next: usize,
op: S::Operation,
score: S::Score,
hash: S::Hash,
}Fields§
§parent: usize§child: usize§prev: usize§next: usize§op: S::Operation§score: S::Score§hash: S::HashImplementations§
Source§impl<S> Node<S>where
S: ModifiableState,
impl<S> Node<S>where
S: ModifiableState,
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Node<S>where
<S as ModifiableState>::Operation: Freeze,
<S as ModifiableState>::Score: Freeze,
<S as ModifiableState>::Hash: Freeze,
impl<S> RefUnwindSafe for Node<S>where
<S as ModifiableState>::Operation: RefUnwindSafe,
<S as ModifiableState>::Score: RefUnwindSafe,
<S as ModifiableState>::Hash: RefUnwindSafe,
impl<S> Send for Node<S>where
<S as ModifiableState>::Operation: Send,
<S as ModifiableState>::Score: Send,
<S as ModifiableState>::Hash: Send,
impl<S> Sync for Node<S>where
<S as ModifiableState>::Operation: Sync,
<S as ModifiableState>::Score: Sync,
<S as ModifiableState>::Hash: Sync,
impl<S> Unpin for Node<S>where
<S as ModifiableState>::Operation: Unpin,
<S as ModifiableState>::Score: Unpin,
<S as ModifiableState>::Hash: Unpin,
impl<S> UnwindSafe for Node<S>where
<S as ModifiableState>::Operation: UnwindSafe,
<S as ModifiableState>::Score: UnwindSafe,
<S as ModifiableState>::Hash: 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