Utf16Str

Trait Utf16Str 

Source
pub trait Utf16Str {
    // Required method
    fn chars_lossy(&self) -> impl Iterator<Item = char>;
}
Available on crate feature data-support-someip only.
Expand description

Trait for working with UTF-16BE and UTF-16LE strings.

Required Methods§

Source

fn chars_lossy(&self) -> impl Iterator<Item = char>

Returns a lossy iterator over the characters of the string.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§