Enum wtf8_rs::Wtf8Chunk [−][src]
Expand description
Part of a WTF-8 slice.
Either an Utf8
string, or a UnpairedSurrogate
.
Variants
Utf8(&'a str)
Tuple Fields
0: &'a str
The chunk as a UTF-8 string.
UnpairedSurrogate(u16)
Tuple Fields
0: u16
The chunk as an unpaired surrogate.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Wtf8Chunk<'a>
impl<'a> UnwindSafe for Wtf8Chunk<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more