Struct mesh::CellUpdater
source · pub struct CellUpdater<T> { /* private fields */ }
Expand description
A type used to update the value in one or more Cell
s.
Implementations§
source§impl<T> CellUpdater<T>
impl<T> CellUpdater<T>
sourcepub fn new(value: T) -> CellUpdater<T>
pub fn new(value: T) -> CellUpdater<T>
Creates a new cell updater with no associated cells.
Trait Implementations§
source§impl<T> Debug for CellUpdater<T>where
T: Debug,
impl<T> Debug for CellUpdater<T>where
T: Debug,
source§impl<T> DefaultEncoding for CellUpdater<T>
impl<T> DefaultEncoding for CellUpdater<T>
source§type Encoding = TableEncoder
type Encoding = TableEncoder
The encoding to use for the serialization. Read more
source§impl<'encoding, T> StructDecodeMetadata<'encoding, Resource> for CellUpdater<T>
impl<'encoding, T> StructDecodeMetadata<'encoding, Resource> for CellUpdater<T>
source§const DECODERS: &'static [ErasedDecoderEntry] = _
const DECODERS: &'static [ErasedDecoderEntry] = _
The list of decoder vtables.
source§impl<T> StructEncodeMetadata<Resource> for CellUpdater<T>
impl<T> StructEncodeMetadata<Resource> for CellUpdater<T>
source§const ENCODERS: &'static [ErasedEncoderEntry] = _
const ENCODERS: &'static [ErasedEncoderEntry] = _
The list of encoder vtables.
source§impl<T> StructMetadata for CellUpdater<T>
impl<T> StructMetadata for CellUpdater<T>
impl<T> Downcast<CellUpdater<T>> for CellUpdater<T>
Auto Trait Implementations§
impl<T> Freeze for CellUpdater<T>where
T: Freeze,
impl<T> !RefUnwindSafe for CellUpdater<T>
impl<T> Send for CellUpdater<T>where
T: Send,
impl<T> Sync for CellUpdater<T>where
T: Sync,
impl<T> Unpin for CellUpdater<T>where
T: Unpin,
impl<T> !UnwindSafe for CellUpdater<T>
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> SerializeMessage for Twhere
T: MeshPayload,
impl<T> SerializeMessage for Twhere
T: MeshPayload,
source§fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
Computes the message size, as in
MessageEncode::compute_message_size
.source§fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
Writes the message, as in
MessageEncode::write_message
.source§fn extract(self) -> <T as SerializeMessage>::Concrete
fn extract(self) -> <T as SerializeMessage>::Concrete
Extract the concrete message.