Searched refs:Vec (Results 1 – 12 of 12) sorted by relevance
/linux-6.3-rc2/rust/alloc/vec/ |
A D | partial_eq.rs | 7 use super::Vec; 25 __impl_slice_eq1! { [A1: Allocator, A2: Allocator] Vec<T, A1>, Vec<U, A2>, #[stable(feature = "rust… 26 __impl_slice_eq1! { [A: Allocator] Vec<T, A>, &[U], #[stable(feature = "rust1", since = "1.0.0")] } 27 __impl_slice_eq1! { [A: Allocator] Vec<T, A>, &mut [U], #[stable(feature = "rust1", since = "1.0.0"… 28 __impl_slice_eq1! { [A: Allocator] &[T], Vec<U, A>, #[stable(feature = "partialeq_vec_for_ref_slice… 29 __impl_slice_eq1! { [A: Allocator] &mut [T], Vec<U, A>, #[stable(feature = "partialeq_vec_for_ref_s… 30 __impl_slice_eq1! { [A: Allocator] Vec<T, A>, [U], #[stable(feature = "partialeq_vec_for_slice", si… 31 __impl_slice_eq1! { [A: Allocator] [T], Vec<U, A>, #[stable(feature = "partialeq_vec_for_slice", si… 33 __impl_slice_eq1! { [A: Allocator] Cow<'_, [T]>, Vec<U, A> where T: Clone, #[stable(feature = "rust… 38 __impl_slice_eq1! { [A: Allocator, const N: usize] Vec<T, A>, [U; N], #[stable(feature = "rust1", s… [all …]
|
A D | mod.rs | 413 impl<T> Vec<T> { argument 594 impl<T, A: Allocator> Vec<T, A> { implementation 3007 fn default() -> Vec<T> { in default() 3008 Vec::new() in default() 3020 impl<T, A: Allocator> AsRef<Vec<T, A>> for Vec<T, A> { implementation 3027 impl<T, A: Allocator> AsMut<Vec<T, A>> for Vec<T, A> { implementation 3058 fn from(s: &[T]) -> Vec<T> { in from() 3062 fn from(s: &[T]) -> Vec<T> { in from() 3173 impl From<&str> for Vec<u8> { implementation 3188 type Error = Vec<T, A>; [all …]
|
A D | drain_filter.rs | 7 use super::Vec; 32 pub(super) vec: &'a mut Vec<T, A>,
|
A D | drain.rs | 10 use super::Vec; 35 pub(super) vec: NonNull<Vec<T, A>>,
|
/linux-6.3-rc2/rust/alloc/ |
A D | slice.rs | 103 use crate::vec::Vec; 162 use crate::vec::Vec; 479 pub fn to_vec(&self) -> Vec<T> in to_vec() 561 return Vec::new(); in repeat() 775 type Output = Vec<T>; 790 type Output = Vec<T>; 813 type Output = Vec<T>; 839 impl<T> Borrow<[T]> for Vec<T> { implementation 855 type Owned = Vec<T>; 857 fn to_owned(&self) -> Vec<T> { in to_owned() [all …]
|
A D | boxed.rs | 166 use crate::vec::Vec; 1904 iter.into_iter().collect::<Vec<_>>().into_boxed_slice() in from_iter()
|
/linux-6.3-rc2/samples/rust/ |
A D | rust_minimal.rs | 16 numbers: Vec<i32>, 24 let mut numbers = Vec::new(); in init()
|
/linux-6.3-rc2/rust/macros/ |
A D | module.rs | 91 let mut seen_keys = Vec::new(); in parse() 135 let mut ordered_keys: Vec<&str> = Vec::new(); in parse()
|
A D | vtable.rs | 8 let mut tokens: Vec<_> = ts.into_iter().collect(); in vtable() 30 let mut functions = Vec::new(); in vtable()
|
/linux-6.3-rc2/scripts/ |
A D | generate_rust_target.rs | 26 type Object = Vec<(String, Value)>; 54 TargetSpec(Vec::new()) in new()
|
/linux-6.3-rc2/rust/kernel/ |
A D | str.rs | 5 use alloc::vec::Vec; 539 buf: Vec<u8>, 552 let mut buf = Vec::try_with_capacity(size)?; in try_from_fmt()
|
A D | prelude.rs | 18 pub use alloc::{boxed::Box, vec::Vec};
|
Completed in 52 milliseconds