StateSerializerLocal

Struct StateSerializerLocal 

Source
pub struct StateSerializerLocal<T, U, S>
where T: Serialize, U: Serialize,
{ /* private fields */ }

Implementations§

Source§

impl<T, U, S> StateSerializerLocal<T, U, S>
where T: Serialize, U: Serialize,

Source

pub fn new(serializer: BatchSerializerLocal<T, U>, trivial_state: S) -> Self

Trait Implementations§

Source§

impl<T, CI, I, S> BoardCallbackWithStates<T, CI, I> for StateSerializerLocal<Vec<(CI, T)>, S, T>
where T: Send + Sync + Serialize + PartialEq, CI: Send + Sync + Serialize, S: Send + Sync + Serialize, I: ParallelIterator<Item = IndexedDataOwned<CI, T>>,

Source§

fn execute(&mut self, states: I)

Source§

fn setup(&mut self)

Source§

fn cleanup(&mut self)

Auto Trait Implementations§

§

impl<T, U, S> Freeze for StateSerializerLocal<T, U, S>
where S: Freeze, U: Freeze,

§

impl<T, U, S> !RefUnwindSafe for StateSerializerLocal<T, U, S>

§

impl<T, U, S> Send for StateSerializerLocal<T, U, S>
where S: Send, U: Send, T: Send,

§

impl<T, U, S> Sync for StateSerializerLocal<T, U, S>
where S: Sync, U: Sync, T: Sync,

§

impl<T, U, S> Unpin for StateSerializerLocal<T, U, S>
where S: Unpin, U: Unpin, T: Unpin,

§

impl<T, U, S> !UnwindSafe for StateSerializerLocal<T, U, S>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V