DeString

Type Alias DeString 

Source
pub type DeString<'i> = Cow<'i, str>;
Available on crate feature parse only.
Expand description

Type representing a TOML string, payload of the DeValue::String variant

Aliased Type§

pub enum DeString<'i> {
    Borrowed(&'i str),
    Owned(String),
}

Variants§

§1.0.0

Borrowed(&'i str)

Borrowed data.

§1.0.0

Owned(String)

Owned data.

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.