Struct cyfs_base::ObjectMapContentList
source · [−]pub struct ObjectMapContentList {
pub list: Vec<ObjectMapContentItem>,
}
Fields
list: Vec<ObjectMapContentItem>
Implementations
sourceimpl ObjectMapContentList
impl ObjectMapContentList
pub fn new(capacity: usize) -> Self
pub fn push_key_value(&mut self, key: &str, value: impl IntoObjectMapContentItem)
pub fn push_value(&mut self, value: impl IntoObjectMapContentItem)
pub fn take(&mut self) -> ObjectMapContentList
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ObjectMapContentList
impl Send for ObjectMapContentList
impl Sync for ObjectMapContentList
impl Unpin for ObjectMapContentList
impl UnwindSafe for ObjectMapContentList
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more