Struct hapi_rs::stringhandle::StringArray
source · [−]pub struct StringArray { /* private fields */ }
Expand description
Holds a contiguous array of bytes where each individual string value is null-separated.
Implementations
sourceimpl<'a> StringArray
impl<'a> StringArray
sourcepub fn iter_str(&'a self) -> StringIter<'a>ⓘNotable traits for StringIter<'a>impl<'a> Iterator for StringIter<'a> type Item = &'a str;
pub fn iter_str(&'a self) -> StringIter<'a>ⓘNotable traits for StringIter<'a>impl<'a> Iterator for StringIter<'a> type Item = &'a str;
Return an iterator over &str
sourcepub fn iter_cstr(&'a self) -> CStringIter<'a>ⓘNotable traits for CStringIter<'a>impl<'a> Iterator for CStringIter<'a> type Item = &'a CStr;
pub fn iter_cstr(&'a self) -> CStringIter<'a>ⓘNotable traits for CStringIter<'a>impl<'a> Iterator for CStringIter<'a> type Item = &'a CStr;
Return an iterator over &CStr
pub fn is_empty(&self) -> bool
Trait Implementations
sourceimpl Debug for StringArray
impl Debug for StringArray
sourceimpl IntoIterator for StringArray
impl IntoIterator for StringArray
Auto Trait Implementations
impl RefUnwindSafe for StringArray
impl Send for StringArray
impl Sync for StringArray
impl Unpin for StringArray
impl UnwindSafe for StringArray
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more