pub struct MutableVec<A>(/* private fields */);
Implementations§
Source§impl<A> MutableVec<A>
impl<A> MutableVec<A>
pub fn new_with_values(values: Vec<A>) -> Self
pub fn new() -> Self
pub fn with_capacity(capacity: usize) -> Self
pub fn lock_ref(&self) -> MutableVecLockRef<'_, A>
pub fn lock_mut(&self) -> MutableVecLockMut<'_, A>
Source§impl<A: Copy> MutableVec<A>
impl<A: Copy> MutableVec<A>
pub fn signal_vec(&self) -> MutableSignalVec<A>
Source§impl<A: Clone> MutableVec<A>
impl<A: Clone> MutableVec<A>
pub fn signal_vec_cloned(&self) -> MutableSignalVec<A>
Trait Implementations§
Source§impl<T> Clone for MutableVec<T>
impl<T> Clone for MutableVec<T>
Source§impl<A> Debug for MutableVec<A>where
A: Debug,
impl<A> Debug for MutableVec<A>where
A: Debug,
Source§impl<T> Default for MutableVec<T>
impl<T> Default for MutableVec<T>
Source§impl<'de, T> Deserialize<'de> for MutableVec<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for MutableVec<T>where
T: Deserialize<'de>,
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<T, A> From<T> for MutableVec<A>
impl<T, A> From<T> for MutableVec<A>
Auto Trait Implementations§
impl<A> Freeze for MutableVec<A>
impl<A> RefUnwindSafe for MutableVec<A>
impl<A> Send for MutableVec<A>
impl<A> Sync for MutableVec<A>
impl<A> Unpin for MutableVec<A>
impl<A> UnwindSafe for MutableVec<A>
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