Trait reanim_decode::stream::DecodeExt

source ·
pub trait DecodeExt: Decode<()> {
    // Provided method
    fn decode<S: Stream + ?Sized>(s: &mut S) -> Result<Self> { ... }
}
Expand description

Convenience methods for Decode without arguments.

Provided Methods§

source

fn decode<S: Stream + ?Sized>(s: &mut S) -> Result<Self>

Decode complex data at current position in the Stream, with default arguments.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: Decode<()>> DecodeExt for T