Struct simple_parse::SpCtx [−][src]
Fields
cursor: usize
How many bytes have been read/written so far
is_reading: bool
This value should only be checked inside custom validators (which get called for both Read & Write) Its contents are considered invalid otherwise
is_little_endian: bool
If the abitrary input/output bytes should be treated as little endian
count: Option<usize>
If a dynamically sized Self uses an external count field, and what its contents are
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SpCtx
impl Send for SpCtx
impl Sync for SpCtx
impl Unpin for SpCtx
impl UnwindSafe for SpCtx
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>,