pub struct BinaryFrameDecoder;Expand description
Simple little-endian binary frame decoder.
Implementations§
Source§impl BinaryFrameDecoder
impl BinaryFrameDecoder
Sourcepub fn decode_replication<'a>(
&mut self,
input: &'a [u8],
) -> Result<ReplicationFrameRef<'a>, ReplicationFrameRefDecodeError>
pub fn decode_replication<'a>( &mut self, input: &'a [u8], ) -> Result<ReplicationFrameRef<'a>, ReplicationFrameRefDecodeError>
Decodes and fully validates one replication frame while borrowing all
entity/component storage and component payload bytes from input.
Trait Implementations§
Source§impl Clone for BinaryFrameDecoder
impl Clone for BinaryFrameDecoder
Source§fn clone(&self) -> BinaryFrameDecoder
fn clone(&self) -> BinaryFrameDecoder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BinaryFrameDecoder
Source§impl Debug for BinaryFrameDecoder
impl Debug for BinaryFrameDecoder
Source§impl Default for BinaryFrameDecoder
impl Default for BinaryFrameDecoder
Source§fn default() -> BinaryFrameDecoder
fn default() -> BinaryFrameDecoder
Returns the “default value” for a type. Read more
Source§impl FrameDecoder for BinaryFrameDecoder
impl FrameDecoder for BinaryFrameDecoder
Auto Trait Implementations§
impl Freeze for BinaryFrameDecoder
impl RefUnwindSafe for BinaryFrameDecoder
impl Send for BinaryFrameDecoder
impl Sync for BinaryFrameDecoder
impl Unpin for BinaryFrameDecoder
impl UnsafeUnpin for BinaryFrameDecoder
impl UnwindSafe for BinaryFrameDecoder
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