pub struct StringList { /* private fields */ }Implementations§
Source§impl StringList
impl StringList
pub fn empty() -> Self
pub fn new(list: *mut alpm_list_t) -> Self
pub fn add(&mut self, item: StringItem)
pub fn to_ptr(&self) -> *mut alpm_list_t
pub fn iter(&self) -> AlpmListIterator<StringItem> ⓘ
Trait Implementations§
Source§impl Drop for StringList
impl Drop for StringList
Source§impl From<&[&str]> for StringList
impl From<&[&str]> for StringList
Source§impl From<*mut alpm_list_t> for StringList
impl From<*mut alpm_list_t> for StringList
Source§fn from(lst: *mut alpm_list_t) -> Self
fn from(lst: *mut alpm_list_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Send for StringList
impl !Sync for StringList
impl Freeze for StringList
impl RefUnwindSafe for StringList
impl Unpin for StringList
impl UnsafeUnpin for StringList
impl UnwindSafe for StringList
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