Enum scroll::ctx::StrCtx
[−]
[src]
pub enum StrCtx { Delimiter(u8), DelimiterUntil(u8, usize), Length(usize), }
The parsing context for converting a byte sequence to a &str
StrCtx
specifies what byte delimiter to use, and defaults to C-style null terminators. Be careful.
Variants
Delimiter(u8)
DelimiterUntil(u8, usize)
Length(usize)
Methods
impl StrCtx
[src]
Trait Implementations
impl Debug for StrCtx
[src]
impl Copy for StrCtx
[src]
impl Clone for StrCtx
[src]
fn clone(&self) -> StrCtx
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more