Searched defs:Box (Results 1 – 2 of 2) sorted by relevance
/linux/rust/kernel/alloc/ |
H A D | kbox.rs | 78 pub struct Box<#[cfg_attr(CONFIG_RUSTC_HAS_COERCE_POINTEE, pointee)] T: ?Sized, A: Allocator>( struct 86 impl<T, U, A> core::ops::CoerceUnsized<Box<U, A>> for Box<T, A> implementation 97 impl<T, U, A> core::ops::DispatchFromDyn<Box<U, A>> for Box<T, A> implementation 143 unsafe impl<T, A: Allocator> ZeroableOption for Box<T, A> {} implementation 146 unsafe impl<T, A> Send for Box<T, A> implementation 154 unsafe impl<T, A> Sync for Box<T, A> implementation 161 impl<T, A> Box<T, A> impl 215 impl<T, A> Box<MaybeUninit<T>, A> impl 245 impl<T, A> Box<T, A> impl 353 impl<T, A> InPlaceWrite<T> for Box<MaybeUninit<T>, A> implementation [all …]
|
/linux/rust/pin-init/src/ |
H A D | alloc.rs | 22 unsafe impl<T> ZeroableOption for Box<T> {} implementation 80 impl<T> InPlaceInit<T> for Box<T> { implementation 136 impl<T> InPlaceWrite<T> for Box<MaybeUninit<T>> { implementation
|