[−][src]Struct sliceread::BinaryStream
A BinaryStream
wraps a slice, and allows you to 'read' from it linearly.
Implementations
impl<'a, E: Endian> BinaryStream<'a, E>
[src]
Trait Implementations
impl<'a, E: Endian> EndianSliceRead<E> for BinaryStream<'a, E>
[src]
fn read_num<T: Num>(&mut self) -> T
[src]
fn read_encoded_mapped_vec<F: Fn(&mut Self) -> T, T>(
&mut self,
closure: F
) -> Vec<T>
[src]
&mut self,
closure: F
) -> Vec<T>
fn read_encoded_buffer(&mut self) -> &[u8]
[src]
impl<'a, E: Endian> SliceRead for BinaryStream<'a, E>
[src]
Auto Trait Implementations
impl<'a, E> RefUnwindSafe for BinaryStream<'a, E> where
E: RefUnwindSafe,
E: RefUnwindSafe,
impl<'a, E> Send for BinaryStream<'a, E> where
E: Send,
E: Send,
impl<'a, E> Sync for BinaryStream<'a, E> where
E: Sync,
E: Sync,
impl<'a, E> Unpin for BinaryStream<'a, E> where
E: Unpin,
E: Unpin,
impl<'a, E> UnwindSafe for BinaryStream<'a, E> where
E: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,