Home
last modified time | relevance | path

Searched refs:Vec (Results 1 – 12 of 12) sorted by relevance

/linux-6.3-rc2/rust/alloc/vec/
A Dpartial_eq.rs7 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 Dmod.rs413 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 Ddrain_filter.rs7 use super::Vec;
32 pub(super) vec: &'a mut Vec<T, A>,
A Ddrain.rs10 use super::Vec;
35 pub(super) vec: NonNull<Vec<T, A>>,
/linux-6.3-rc2/rust/alloc/
A Dslice.rs103 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 Dboxed.rs166 use crate::vec::Vec;
1904 iter.into_iter().collect::<Vec<_>>().into_boxed_slice() in from_iter()
/linux-6.3-rc2/samples/rust/
A Drust_minimal.rs16 numbers: Vec<i32>,
24 let mut numbers = Vec::new(); in init()
/linux-6.3-rc2/rust/macros/
A Dmodule.rs91 let mut seen_keys = Vec::new(); in parse()
135 let mut ordered_keys: Vec<&str> = Vec::new(); in parse()
A Dvtable.rs8 let mut tokens: Vec<_> = ts.into_iter().collect(); in vtable()
30 let mut functions = Vec::new(); in vtable()
/linux-6.3-rc2/scripts/
A Dgenerate_rust_target.rs26 type Object = Vec<(String, Value)>;
54 TargetSpec(Vec::new()) in new()
/linux-6.3-rc2/rust/kernel/
A Dstr.rs5 use alloc::vec::Vec;
539 buf: Vec<u8>,
552 let mut buf = Vec::try_with_capacity(size)?; in try_from_fmt()
A Dprelude.rs18 pub use alloc::{boxed::Box, vec::Vec};

Completed in 52 milliseconds