pub struct StringArray { /* private fields */ }
Expand description

Holds a contiguous array of bytes where each individual string value is null-separated. You can choose how to iterate over it by calling a corresponding iter_* function. The Debug impl has an alternative {:#?} representation, which prints as a vec of strings.

Implementations§

Return an iterator over &str

Return an iterator over &CStr

Reference to underlying bytes

Trait Implementations§

Formats the value using the given formatter. Read more
Converts to this type from the input type.
The type of the elements being iterated over.
Which kind of iterator are we turning this into?
Creates an iterator from a value. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.