pub struct SBStringList {
pub raw: SBStringListRef,
}Expand description
A list of strings.
Fields§
§raw: SBStringListRefThe underlying raw SBStringListRef.
Implementations§
Source§impl SBStringList
impl SBStringList
Sourcepub fn new() -> SBStringList
pub fn new() -> SBStringList
Construct a new SBStringList.
Sourcepub fn append_string(&self, string: &str)
pub fn append_string(&self, string: &str)
Append another string to this list.
Sourcepub fn append_list(&self, other: &SBStringList)
pub fn append_list(&self, other: &SBStringList)
Append another string list to this one.
Sourcepub fn iter(&self) -> SBStringListIter<'_> ⓘ
pub fn iter(&self) -> SBStringListIter<'_> ⓘ
Iterate over this string list.
Trait Implementations§
Source§impl Clone for SBStringList
impl Clone for SBStringList
Source§fn clone(&self) -> SBStringList
fn clone(&self) -> SBStringList
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SBStringList
impl Debug for SBStringList
Source§impl Default for SBStringList
impl Default for SBStringList
Source§impl Drop for SBStringList
impl Drop for SBStringList
Source§impl<'d> IntoIterator for &'d SBStringList
impl<'d> IntoIterator for &'d SBStringList
impl Send for SBStringList
impl Sync for SBStringList
Auto Trait Implementations§
impl Freeze for SBStringList
impl RefUnwindSafe for SBStringList
impl Unpin for SBStringList
impl UnwindSafe for SBStringList
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more