pub struct BufferBinary {
pub buffer: Vec<u8>,
}
Fields§
§buffer: Vec<u8>
Trait Implementations§
Source§impl BinRead for BufferBinary
impl BinRead for BufferBinary
Source§type Args = ()
type Args = ()
The type of arguments needed to be supplied in order to read this type, usually a tuple. Read more
Source§fn read_options<R: Read + Seek>(
__binread_generated_var_reader: &mut R,
__binread_generated_var_options: &ReadOptions,
__binread_generated_var_arguments: Self::Args,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binread_generated_var_reader: &mut R, __binread_generated_var_options: &ReadOptions, __binread_generated_var_arguments: Self::Args, ) -> BinResult<Self>
Read the type from the reader
fn after_parse<R: Read + Seek>( &mut self, __binread_generated_var_reader: &mut R, __binread_generated_var_options: &ReadOptions, __binread_generated_var_arguments: Self::Args, ) -> BinResult<()>
Source§fn read<R>(reader: &mut R) -> Result<Self, Error>
fn read<R>(reader: &mut R) -> Result<Self, Error>
Read the type from the reader while assuming no arguments have been passed Read more
Source§impl BinWrite for BufferBinary
impl BinWrite for BufferBinary
Source§impl Clone for BufferBinary
impl Clone for BufferBinary
Source§fn clone(&self) -> BufferBinary
fn clone(&self) -> BufferBinary
Returns a copy 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 Debug for BufferBinary
impl Debug for BufferBinary
Source§impl PartialEq for BufferBinary
impl PartialEq for BufferBinary
impl StructuralPartialEq for BufferBinary
Auto Trait Implementations§
impl Freeze for BufferBinary
impl RefUnwindSafe for BufferBinary
impl Send for BufferBinary
impl Sync for BufferBinary
impl Unpin for BufferBinary
impl UnwindSafe for BufferBinary
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