[−][src]Struct futures_signals::signal_vec::MutableVecLockMut
Implementations
impl<'a, A> MutableVecLockMut<'a, A>
[src]
pub fn pop(&mut self) -> Option<A>
[src]
pub fn remove(&mut self, index: usize) -> A
[src]
pub fn clear(&mut self)
[src]
pub fn move_from_to(&mut self, old_index: usize, new_index: usize)
[src]
pub fn swap(&mut self, a: usize, b: usize)
[src]
pub fn retain<F>(&mut self, f: F) where
F: FnMut(&A) -> bool,
[src]
F: FnMut(&A) -> bool,
pub fn reverse(&mut self)
[src]
pub fn reserve(&mut self, additional: usize)
[src]
pub fn reserve_exact(&mut self, additional: usize)
[src]
pub fn shrink_to_fit(&mut self)
[src]
impl<'a, A> MutableVecLockMut<'a, A> where
A: Copy,
[src]
A: Copy,
pub fn push(&mut self, value: A)
[src]
pub fn insert(&mut self, index: usize, value: A)
[src]
pub fn set(&mut self, index: usize, value: A)
[src]
pub fn replace(&mut self, values: Vec<A>)
[src]
impl<'a, A> MutableVecLockMut<'a, A> where
A: Clone,
[src]
A: Clone,
pub fn push_cloned(&mut self, value: A)
[src]
pub fn insert_cloned(&mut self, index: usize, value: A)
[src]
pub fn set_cloned(&mut self, index: usize, value: A)
[src]
pub fn replace_cloned(&mut self, values: Vec<A>)
[src]
impl<'a, A> MutableVecLockMut<'a, A>
[src]
Trait Implementations
impl<'a, A> AsRef<[A]> for MutableVecLockMut<'a, A>
[src]
impl<'a, A> AsRef<MutableVecLockMut<'a, A>> for MutableVecLockMut<'a, A>
[src]
pub fn as_ref(&self) -> &MutableVecLockMut<'a, A>
[src]
impl<'a, A> Borrow<[A]> for MutableVecLockMut<'a, A>
[src]
impl<'a, A: Debug> Debug for MutableVecLockMut<'a, A> where
A: 'a,
[src]
A: 'a,
impl<'a, A> Deref for MutableVecLockMut<'a, A>
[src]
impl<'a, A> Eq for MutableVecLockMut<'a, A> where
A: Eq,
[src]
A: Eq,
impl<'a, A> Hash for MutableVecLockMut<'a, A> where
A: Hash,
[src]
A: Hash,
pub fn hash<H>(&self, state: &mut H) where
H: Hasher,
[src]
H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<'a, A, I> Index<I> for MutableVecLockMut<'a, A> where
I: SliceIndex<[A]>,
[src]
I: SliceIndex<[A]>,
type Output = I::Output
The returned type after indexing.
pub fn index(&self, index: I) -> &Self::Output
[src]
impl<'a, A> Ord for MutableVecLockMut<'a, A> where
A: Ord,
[src]
A: Ord,
pub fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<'a, 'b, A, B> PartialEq<&'b [B]> for MutableVecLockMut<'a, A> where
A: PartialEq<B>,
[src]
A: PartialEq<B>,
impl<'a, 'b, A, B> PartialEq<MutableVecLockMut<'b, B>> for MutableVecLockMut<'a, A> where
A: PartialEq<B>,
[src]
A: PartialEq<B>,
pub fn eq(&self, other: &MutableVecLockMut<'b, B>) -> bool
[src]
pub fn ne(&self, other: &MutableVecLockMut<'b, B>) -> bool
[src]
impl<'a, A> PartialOrd<MutableVecLockMut<'a, A>> for MutableVecLockMut<'a, A> where
A: PartialOrd,
[src]
A: PartialOrd,
Auto Trait Implementations
impl<'a, A> RefUnwindSafe for MutableVecLockMut<'a, A>
impl<'a, A> !Send for MutableVecLockMut<'a, A>
impl<'a, A> Sync for MutableVecLockMut<'a, A> where
A: Send + Sync,
A: Send + Sync,
impl<'a, A> Unpin for MutableVecLockMut<'a, A>
impl<'a, A> UnwindSafe for MutableVecLockMut<'a, A>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,