pub struct ObjectiveSnapshot<const N: usize> { /* private fields */ }Trait Implementations§
Source§impl<const N: usize> Clone for ObjectiveSnapshot<N>
impl<const N: usize> Clone for ObjectiveSnapshot<N>
Source§fn clone(&self) -> ObjectiveSnapshot<N>
fn clone(&self) -> ObjectiveSnapshot<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 moreSource§impl<const N: usize> Debug for ObjectiveSnapshot<N>
impl<const N: usize> Debug for ObjectiveSnapshot<N>
Source§impl<const N: usize> PartialEq for ObjectiveSnapshot<N>
impl<const N: usize> PartialEq for ObjectiveSnapshot<N>
Source§impl<const N: usize> SaveData for ObjectiveSnapshot<N>
impl<const N: usize> SaveData for ObjectiveSnapshot<N>
const SCHEMA: u64 = 5_068_888_526_737_982_292u64
const VERSION: u32 = 1u32
const MAX_BYTES: usize = 2_048usize
fn write(&self, d: &mut Document) -> Result<(), SaveError>
fn read(d: &Document) -> Result<ObjectiveSnapshot<N>, SaveError>
fn encode(&self, generation: u64) -> Result<Vec<u8>, SaveError>
fn decode(data: &[u8]) -> Result<(Self, u64), SaveError>
impl<const N: usize> StructuralPartialEq for ObjectiveSnapshot<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for ObjectiveSnapshot<N>
impl<const N: usize> RefUnwindSafe for ObjectiveSnapshot<N>
impl<const N: usize> Send for ObjectiveSnapshot<N>
impl<const N: usize> Sync for ObjectiveSnapshot<N>
impl<const N: usize> Unpin for ObjectiveSnapshot<N>
impl<const N: usize> UnwindSafe for ObjectiveSnapshot<N>
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