pub struct MutationRecord {
pub node: IdType,
pub key: usize,
pub site: usize,
pub derived_state: Option<Vec<u8>>,
pub neutral: bool,
}
Expand description
A MutationRecord is the minimal information needed about a mutation to track it on a tree sequence.
Fields§
§node: IdType
The node where the mutation maps
key: usize
Reference to mutation metadata.
site: usize
The index of the corresponding Site
.
derived_state: Option<Vec<u8>>
The derived state.
None
implies client code
will apply a default.
neutral: bool
Auto Trait Implementations§
impl Freeze for MutationRecord
impl RefUnwindSafe for MutationRecord
impl Send for MutationRecord
impl Sync for MutationRecord
impl Unpin for MutationRecord
impl UnwindSafe for MutationRecord
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