pub(crate) struct RcVec<T> {
inner: Rc<Vec<T>>,
}
Fields§
§inner: Rc<Vec<T>>
Implementations§
source§impl<T> RcVec<T>
impl<T> RcVec<T>
pub(crate) fn is_empty(&self) -> bool
pub(crate) fn len(&self) -> usize
pub(crate) fn iter(&self) -> Iter<'_, T>
pub(crate) fn make_mut(&mut self) -> RcVecMut<'_, T>where
T: Clone,
pub(crate) fn get_mut(&mut self) -> Option<RcVecMut<'_, T>>
pub(crate) fn make_owned(self) -> RcVecBuilder<T>where
T: Clone,
Trait Implementations§
impl<T> RefUnwindSafe for RcVec<T>where
T: RefUnwindSafe,
Auto Trait Implementations§
impl<T> Freeze for RcVec<T>
impl<T> !Send for RcVec<T>
impl<T> !Sync for RcVec<T>
impl<T> Unpin for RcVec<T>
impl<T> UnwindSafe for RcVec<T>where
T: RefUnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)