Struct scroll::ctx::StrCtx [] [src]

pub struct StrCtx {
    pub delimiter: u8,
}

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.

Fields

Trait Implementations

impl Debug for StrCtx
[src]

Formats the value using the given formatter.

impl Copy for StrCtx
[src]

impl Clone for StrCtx
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for StrCtx
[src]

Returns the "default value" for a type. Read more

impl From<u8> for StrCtx
[src]

Performs the conversion.