Trait BinRead

Source
pub trait BinRead: Sized {
    type Args: Any + Copy;

    // Required method
    fn read_options<R: Read + Seek>(
        reader: &mut R,
        options: &ReadOptions,
        args: Self::Args,
    ) -> BinResult<Self>;

    // Provided methods
    fn read<R: Read + Seek>(reader: &mut R) -> BinResult<Self> { ... }
    fn read_args<R: Read + Seek>(
        reader: &mut R,
        args: Self::Args,
    ) -> BinResult<Self> { ... }
    fn after_parse<R: Read + Seek>(
        &mut self,
        _: &mut R,
        _: &ReadOptions,
        _: Self::Args,
    ) -> BinResult<()> { ... }
    fn args_default() -> Option<Self::Args> { ... }
}
Expand description

A BinRead trait allows reading a structure from anything that implements io::Read and io::Seek BinRead is implemented on the type to be read out of the given reader

Required Associated Types§

Source

type Args: Any + Copy

The type of arguments needed to be supplied in order to read this type, usually a tuple.

NOTE: For types that don’t require any arguments, use the unit (()) type. This will allow read to be used.

Required Methods§

Source

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Read the type from the reader

Provided Methods§

Source

fn read<R: Read + Seek>(reader: &mut R) -> BinResult<Self>

Read the type from the reader while assuming no arguments have been passed

§Panics

Panics if there is no args_default implementation

Source

fn read_args<R: Read + Seek>( reader: &mut R, args: Self::Args, ) -> BinResult<Self>

Read the type from the reader using the specified arguments

Source

fn after_parse<R: Read + Seek>( &mut self, _: &mut R, _: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source

fn args_default() -> Option<Self::Args>

The default arguments to be used when using the read shortcut method. Override this for any type that optionally requries arguments

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl BinRead for char

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

impl BinRead for f32

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

impl BinRead for f64

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

impl BinRead for i8

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

impl BinRead for i16

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

impl BinRead for i32

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

impl BinRead for i64

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

impl BinRead for i128

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

impl BinRead for u8

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

impl BinRead for u16

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

impl BinRead for u32

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

impl BinRead for u64

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

impl BinRead for u128

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

impl BinRead for ()

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( _: &mut R, _: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

impl BinRead for Vec<NonZeroU8>

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, _: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

impl BinRead for Vec<NonZeroU16>

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 0]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 1]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 2]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 3]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 4]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 5]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 6]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 7]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 8]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 9]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 10]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 11]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 12]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 13]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 14]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 15]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 16]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 17]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 18]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 19]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 20]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 21]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 22]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 23]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 24]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 25]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 26]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 27]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 28]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 29]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 30]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 31]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C> + Default> BinRead for [B; 32]

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: B::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<C: Copy + 'static, B: BinRead<Args = C>> BinRead for Vec<B>

Source§

type Args = <B as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: Self::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<T> BinRead for PhantomData<T>

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( _: &mut R, _: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

impl<T: BinRead> BinRead for Option<T>

Source§

type Args = <T as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R>( &mut self, reader: &mut R, ro: &ReadOptions, args: Self::Args, ) -> BinResult<()>
where R: Read + Seek,

Source§

impl<T: BinRead> BinRead for Box<T>

Source§

type Args = <T as BinRead>::Args

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, args: Self::Args, ) -> BinResult<Self>

Source§

impl<b1: BinRead<Args = ()>, b2: BinRead<Args = ()>, b3: BinRead<Args = ()>, b4: BinRead<Args = ()>, b5: BinRead<Args = ()>, b6: BinRead<Args = ()>, b7: BinRead<Args = ()>, b8: BinRead<Args = ()>, b9: BinRead<Args = ()>, b10: BinRead<Args = ()>, b11: BinRead<Args = ()>, b12: BinRead<Args = ()>, b13: BinRead<Args = ()>, b14: BinRead<Args = ()>, b15: BinRead<Args = ()>, b16: BinRead<Args = ()>, b17: BinRead<Args = ()>, b18: BinRead<Args = ()>, b19: BinRead<Args = ()>, b20: BinRead<Args = ()>, b21: BinRead<Args = ()>, b22: BinRead<Args = ()>, b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b1, b2, b3, b4, b5, b6, b7, b8, b9, b10, b11, b12, b13, b14, b15, b16, b17, b18, b19, b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b2: BinRead<Args = ()>, b3: BinRead<Args = ()>, b4: BinRead<Args = ()>, b5: BinRead<Args = ()>, b6: BinRead<Args = ()>, b7: BinRead<Args = ()>, b8: BinRead<Args = ()>, b9: BinRead<Args = ()>, b10: BinRead<Args = ()>, b11: BinRead<Args = ()>, b12: BinRead<Args = ()>, b13: BinRead<Args = ()>, b14: BinRead<Args = ()>, b15: BinRead<Args = ()>, b16: BinRead<Args = ()>, b17: BinRead<Args = ()>, b18: BinRead<Args = ()>, b19: BinRead<Args = ()>, b20: BinRead<Args = ()>, b21: BinRead<Args = ()>, b22: BinRead<Args = ()>, b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b2, b3, b4, b5, b6, b7, b8, b9, b10, b11, b12, b13, b14, b15, b16, b17, b18, b19, b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b3: BinRead<Args = ()>, b4: BinRead<Args = ()>, b5: BinRead<Args = ()>, b6: BinRead<Args = ()>, b7: BinRead<Args = ()>, b8: BinRead<Args = ()>, b9: BinRead<Args = ()>, b10: BinRead<Args = ()>, b11: BinRead<Args = ()>, b12: BinRead<Args = ()>, b13: BinRead<Args = ()>, b14: BinRead<Args = ()>, b15: BinRead<Args = ()>, b16: BinRead<Args = ()>, b17: BinRead<Args = ()>, b18: BinRead<Args = ()>, b19: BinRead<Args = ()>, b20: BinRead<Args = ()>, b21: BinRead<Args = ()>, b22: BinRead<Args = ()>, b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b3, b4, b5, b6, b7, b8, b9, b10, b11, b12, b13, b14, b15, b16, b17, b18, b19, b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b4: BinRead<Args = ()>, b5: BinRead<Args = ()>, b6: BinRead<Args = ()>, b7: BinRead<Args = ()>, b8: BinRead<Args = ()>, b9: BinRead<Args = ()>, b10: BinRead<Args = ()>, b11: BinRead<Args = ()>, b12: BinRead<Args = ()>, b13: BinRead<Args = ()>, b14: BinRead<Args = ()>, b15: BinRead<Args = ()>, b16: BinRead<Args = ()>, b17: BinRead<Args = ()>, b18: BinRead<Args = ()>, b19: BinRead<Args = ()>, b20: BinRead<Args = ()>, b21: BinRead<Args = ()>, b22: BinRead<Args = ()>, b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b4, b5, b6, b7, b8, b9, b10, b11, b12, b13, b14, b15, b16, b17, b18, b19, b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b5: BinRead<Args = ()>, b6: BinRead<Args = ()>, b7: BinRead<Args = ()>, b8: BinRead<Args = ()>, b9: BinRead<Args = ()>, b10: BinRead<Args = ()>, b11: BinRead<Args = ()>, b12: BinRead<Args = ()>, b13: BinRead<Args = ()>, b14: BinRead<Args = ()>, b15: BinRead<Args = ()>, b16: BinRead<Args = ()>, b17: BinRead<Args = ()>, b18: BinRead<Args = ()>, b19: BinRead<Args = ()>, b20: BinRead<Args = ()>, b21: BinRead<Args = ()>, b22: BinRead<Args = ()>, b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b5, b6, b7, b8, b9, b10, b11, b12, b13, b14, b15, b16, b17, b18, b19, b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b6: BinRead<Args = ()>, b7: BinRead<Args = ()>, b8: BinRead<Args = ()>, b9: BinRead<Args = ()>, b10: BinRead<Args = ()>, b11: BinRead<Args = ()>, b12: BinRead<Args = ()>, b13: BinRead<Args = ()>, b14: BinRead<Args = ()>, b15: BinRead<Args = ()>, b16: BinRead<Args = ()>, b17: BinRead<Args = ()>, b18: BinRead<Args = ()>, b19: BinRead<Args = ()>, b20: BinRead<Args = ()>, b21: BinRead<Args = ()>, b22: BinRead<Args = ()>, b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b6, b7, b8, b9, b10, b11, b12, b13, b14, b15, b16, b17, b18, b19, b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b7: BinRead<Args = ()>, b8: BinRead<Args = ()>, b9: BinRead<Args = ()>, b10: BinRead<Args = ()>, b11: BinRead<Args = ()>, b12: BinRead<Args = ()>, b13: BinRead<Args = ()>, b14: BinRead<Args = ()>, b15: BinRead<Args = ()>, b16: BinRead<Args = ()>, b17: BinRead<Args = ()>, b18: BinRead<Args = ()>, b19: BinRead<Args = ()>, b20: BinRead<Args = ()>, b21: BinRead<Args = ()>, b22: BinRead<Args = ()>, b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b7, b8, b9, b10, b11, b12, b13, b14, b15, b16, b17, b18, b19, b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b8: BinRead<Args = ()>, b9: BinRead<Args = ()>, b10: BinRead<Args = ()>, b11: BinRead<Args = ()>, b12: BinRead<Args = ()>, b13: BinRead<Args = ()>, b14: BinRead<Args = ()>, b15: BinRead<Args = ()>, b16: BinRead<Args = ()>, b17: BinRead<Args = ()>, b18: BinRead<Args = ()>, b19: BinRead<Args = ()>, b20: BinRead<Args = ()>, b21: BinRead<Args = ()>, b22: BinRead<Args = ()>, b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b8, b9, b10, b11, b12, b13, b14, b15, b16, b17, b18, b19, b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b9: BinRead<Args = ()>, b10: BinRead<Args = ()>, b11: BinRead<Args = ()>, b12: BinRead<Args = ()>, b13: BinRead<Args = ()>, b14: BinRead<Args = ()>, b15: BinRead<Args = ()>, b16: BinRead<Args = ()>, b17: BinRead<Args = ()>, b18: BinRead<Args = ()>, b19: BinRead<Args = ()>, b20: BinRead<Args = ()>, b21: BinRead<Args = ()>, b22: BinRead<Args = ()>, b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b9, b10, b11, b12, b13, b14, b15, b16, b17, b18, b19, b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b10: BinRead<Args = ()>, b11: BinRead<Args = ()>, b12: BinRead<Args = ()>, b13: BinRead<Args = ()>, b14: BinRead<Args = ()>, b15: BinRead<Args = ()>, b16: BinRead<Args = ()>, b17: BinRead<Args = ()>, b18: BinRead<Args = ()>, b19: BinRead<Args = ()>, b20: BinRead<Args = ()>, b21: BinRead<Args = ()>, b22: BinRead<Args = ()>, b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b10, b11, b12, b13, b14, b15, b16, b17, b18, b19, b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b11: BinRead<Args = ()>, b12: BinRead<Args = ()>, b13: BinRead<Args = ()>, b14: BinRead<Args = ()>, b15: BinRead<Args = ()>, b16: BinRead<Args = ()>, b17: BinRead<Args = ()>, b18: BinRead<Args = ()>, b19: BinRead<Args = ()>, b20: BinRead<Args = ()>, b21: BinRead<Args = ()>, b22: BinRead<Args = ()>, b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b11, b12, b13, b14, b15, b16, b17, b18, b19, b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b12: BinRead<Args = ()>, b13: BinRead<Args = ()>, b14: BinRead<Args = ()>, b15: BinRead<Args = ()>, b16: BinRead<Args = ()>, b17: BinRead<Args = ()>, b18: BinRead<Args = ()>, b19: BinRead<Args = ()>, b20: BinRead<Args = ()>, b21: BinRead<Args = ()>, b22: BinRead<Args = ()>, b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b12, b13, b14, b15, b16, b17, b18, b19, b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b13: BinRead<Args = ()>, b14: BinRead<Args = ()>, b15: BinRead<Args = ()>, b16: BinRead<Args = ()>, b17: BinRead<Args = ()>, b18: BinRead<Args = ()>, b19: BinRead<Args = ()>, b20: BinRead<Args = ()>, b21: BinRead<Args = ()>, b22: BinRead<Args = ()>, b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b13, b14, b15, b16, b17, b18, b19, b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b14: BinRead<Args = ()>, b15: BinRead<Args = ()>, b16: BinRead<Args = ()>, b17: BinRead<Args = ()>, b18: BinRead<Args = ()>, b19: BinRead<Args = ()>, b20: BinRead<Args = ()>, b21: BinRead<Args = ()>, b22: BinRead<Args = ()>, b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b14, b15, b16, b17, b18, b19, b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b15: BinRead<Args = ()>, b16: BinRead<Args = ()>, b17: BinRead<Args = ()>, b18: BinRead<Args = ()>, b19: BinRead<Args = ()>, b20: BinRead<Args = ()>, b21: BinRead<Args = ()>, b22: BinRead<Args = ()>, b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b15, b16, b17, b18, b19, b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b16: BinRead<Args = ()>, b17: BinRead<Args = ()>, b18: BinRead<Args = ()>, b19: BinRead<Args = ()>, b20: BinRead<Args = ()>, b21: BinRead<Args = ()>, b22: BinRead<Args = ()>, b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b16, b17, b18, b19, b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b17: BinRead<Args = ()>, b18: BinRead<Args = ()>, b19: BinRead<Args = ()>, b20: BinRead<Args = ()>, b21: BinRead<Args = ()>, b22: BinRead<Args = ()>, b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b17, b18, b19, b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b18: BinRead<Args = ()>, b19: BinRead<Args = ()>, b20: BinRead<Args = ()>, b21: BinRead<Args = ()>, b22: BinRead<Args = ()>, b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b18, b19, b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b19: BinRead<Args = ()>, b20: BinRead<Args = ()>, b21: BinRead<Args = ()>, b22: BinRead<Args = ()>, b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b19, b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b20: BinRead<Args = ()>, b21: BinRead<Args = ()>, b22: BinRead<Args = ()>, b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b21: BinRead<Args = ()>, b22: BinRead<Args = ()>, b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b22: BinRead<Args = ()>, b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b23: BinRead<Args = ()>, b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b23, b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b24: BinRead<Args = ()>, b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b24, b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b25: BinRead<Args = ()>, b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b25, b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b26: BinRead<Args = ()>, b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b26, b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b27: BinRead<Args = ()>, b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b27, b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b28: BinRead<Args = ()>, b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b28, b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b29: BinRead<Args = ()>, b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b29, b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b30: BinRead<Args = ()>, b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b30, b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b31: BinRead<Args = ()>, b32: BinRead<Args = ()>> BinRead for (b31, b32)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Source§

impl<b32: BinRead<Args = ()>> BinRead for (b32,)

Source§

type Args = ()

Source§

fn read_options<R: Read + Seek>( reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<Self>

Source§

fn after_parse<R: Read + Seek>( &mut self, reader: &mut R, options: &ReadOptions, _: Self::Args, ) -> BinResult<()>

Implementors§