Home
last modified time | relevance | path

Searched refs:as_slice (Results 1 – 7 of 7) sorted by relevance

/linux/scripts/
H A Drustdoc_test_gen.rs88 match valid_paths.as_slice() { in find_real_path()
/linux/rust/macros/
H A Dpaste.rs51 segments.append(&mut concat_helper(tokens.as_slice())); in concat_helper()
/linux/rust/kernel/debugfs/
H A Dtraits.rs158 let slice = self.as_slice();
/linux/rust/syn/
H A Dscan_expr.rs196 let mut state = INIT.as_slice(); in scan_expr()
/linux/rust/kernel/alloc/
H A Dkvec.rs244 pub fn as_slice(&self) -> &[T] { in as_slice() function
1042 self.as_slice() in borrow()
/linux/rust/kernel/
H A Dstr.rs874 unsafe { CStr::from_bytes_with_nul_unchecked(self.buf.as_slice()) } in deref()
/linux/rust/proc-macro2/
H A Dfallback.rs1080 b'\0' => repr.push_str(match bytes.as_slice().first() { in byte_string()