Utf16Str

Trait Utf16Str 

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§

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§

§

impl Utf16Str for Utf16BeStr<'_>

§

impl Utf16Str for Utf16LeStr<'_>