pub struct CWideStr { /* private fields */ }

Implementations§

Make a new CWideStr from wide chars that are nul terminated without checks.

Safety
  • data must be nul terminated
  • data must contain no interior nuls

Get a pointer to the data.

Get this as a wide slice.

Does NOT include the NUL terminator.

Get this as a wide slice.

Does include the NUL terminator.

Try to iterate over the chars in this string.

Trait Implementations§

Immutably borrows from an owned value. Read more
Formats the value using the given formatter. Read more
The returned type after indexing.
Performs the indexing (container[index]) operation. Read more
Convert this into a vec of wide chars Read more
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more