Searched refs:RustSlice (Results 1 – 4 of 4) sorted by relevance
6 pub struct RustSlice { struct10 impl RustSlice { argument13 RustSlice { in from_ref()20 RustSlice { in from_mut()39 mem::size_of::<Option<RustSlice>>(),40 mem::size_of::<RustSlice>(),
457 pub use crate::rust_slice::RustSlice;
1 use crate::rust_slice::RustSlice;6 unsafe extern "C" fn slice_new(this: &mut MaybeUninit<RustSlice>, ptr: *const (), len: usize) { in slice_new() argument8 let rust_slice = RustSlice { in slice_new()15 unsafe extern "C" fn slice_ptr(this: &RustSlice) -> *const () { in slice_ptr()20 unsafe extern "C" fn slice_len(this: &RustSlice) -> usize { in slice_len()
532 false => quote!(::cxx::private::RustSlice::from_ref(#var)), in expand_cxx_function_shim()533 true => quote!(::cxx::private::RustSlice::from_mut(#var)), in expand_cxx_function_shim()980 false => Some(quote!(::cxx::private::RustSlice::from_ref)), in expand_rust_function_shim_impl()981 true => Some(quote!(::cxx::private::RustSlice::from_mut)), in expand_rust_function_shim_impl()1635 Type::SliceRef(_) => quote!(::cxx::private::RustSlice), in expand_extern_type()