Home
last modified time | relevance | path

Searched refs:IterMut (Results 1 – 6 of 6) sorted by relevance

/linux/rust/syn/
H A Dpunctuated.rs132 pub fn iter_mut(&mut self) -> IterMut<T> { in iter_mut()
133 IterMut { in iter_mut()
544 type IntoIter = IterMut<'a, T>;
613 inner: slice::IterMut<'a, (T, P)>,
863 pub struct IterMut<'a, T: 'a> { struct
873 inner: slice::IterMut<'a, (T, P)>,
879 slice::IterMut<'a, (T, P)>: TrivialDrop,
885 pub(crate) fn empty_punctuated_iter_mut<'a, T>() -> IterMut<'a, T> { in empty_punctuated_iter_mut()
886 IterMut { in empty_punctuated_iter_mut()
891 impl<'a, T> Iterator for IterMut<'a, T> { implementation
[all …]
H A Ddrops.rs38 impl<T> TrivialDrop for slice::IterMut<'_, T> {} implementation
57 assert!(!needs_drop::<slice::IterMut<NeedsDrop>>()); in test_needs_drop()
H A Ddata.rs84 pub fn iter_mut(&mut self) -> punctuated::IterMut<Field> { in iter_mut()
176 type IntoIter = punctuated::IterMut<'a, Field>;
H A Dgenerics.rs8 use crate::punctuated::{Iter, IterMut, Punctuated};
201 pub struct LifetimesMut<'a>(IterMut<'a, GenericParam>);
229 pub struct TypeParamsMut<'a>(IterMut<'a, GenericParam>);
257 pub struct ConstParamsMut<'a>(IterMut<'a, GenericParam>);
/linux/rust/kernel/
H A Drbtree.rs216 pub fn iter_mut(&mut self) -> IterMut<'_, K, V> { in iter_mut()
217 IterMut { in iter_mut()
1120 type IntoIter = IterMut<'a, K, V>; in into_iter()
1130 pub struct IterMut<'a, K, V> {
1135 // SAFETY: The [`IterMut`] has exclusive access to both `K` and `V`, so it is sufficient to require them to be `Send`. implementation
1138 unsafe impl<'a, K: Send, V: Send> Send for IterMut<'a, K, V> {}
1140 // SAFETY: The [`IterMut`] gives out immutable references to K and mutable references to V, so it has the same
1142 unsafe impl<'a, K: Sync, V: Sync> Sync for IterMut<'a, K, V> {}
1144 impl<'a, K, V> Iterator for IterMut<'a, K, V> { in next()
1127 pub struct IterMut<'a, K, V> { global() struct
1132 iter_rawIterMut global() argument
1139 unsafe impl<'a, K: Sync, V: Sync> Sync for IterMut<'a, K, V> {} global() implementation
1141 impl<'a, K, V> Iterator for IterMut<'a, K, V> { global() implementation
/linux/rust/kernel/alloc/
H A Dkvec.rs1027 type IntoIter = slice::IterMut<'a, T>;
1326 elements: slice::IterMut<'vec, T>,