Searched full:boxed (Results 1 – 19 of 19) sorted by relevance
16 //! let boxed: Box<u8> = Box::new(val);22 //! let boxed: Box<u8> = Box::new(5);23 //! let val: u8 = *boxed;41 //! Recursive structures must be boxed, because if the definition of `Cons`192 /// See the [module-level documentation](../../std/boxed/index.html) for more.386 let mut boxed = Self::new_uninit_in(alloc); in new_in() localVariable388 boxed.as_mut_ptr().write(x); in new_in()389 boxed.assume_init() in new_in()414 let mut boxed = Self::try_new_uninit_in(alloc)?; in try_new_in() localVariable416 boxed.as_mut_ptr().write(x); in try_new_in()[all …]
13 //! ## Boxed values56 //! [`Box`]: boxed235 // Need to conditionally define the mod from `boxed.rs` to avoid237 // to allow code to have `use boxed::Box;` declarations.239 pub mod boxed; module241 mod boxed { module242 pub use std::boxed::Box;
32 use crate::boxed::Box;96 use crate::boxed::Box;
15 use crate::boxed::Box;
18 pub use alloc::{boxed::Box, vec::Vec};
139 use alloc::boxed::Box;573 let boxed = unsafe { Box::from_raw(ptr) }; in run() localVariable575 let pinned = unsafe { Pin::new_unchecked(boxed) }; in run()594 let boxed = unsafe { Pin::into_inner_unchecked(self) }; in __enqueue() localVariable595 let ptr = Box::into_raw(boxed); in __enqueue()
6 use alloc::boxed::Box;
217 use alloc::boxed::Box;
59 /// // Allocate a boxed `Example`.
61 /// // Allocate a boxed `Example`.
5 use crate::boxed::Box;
73 use crate::boxed::Box;3539 /// Convert a boxed slice into a vector by transferring ownership of3558 /// Convert a vector into a boxed slice.
63 /// /// Allocates a new boxed `Example`.
25 use alloc::boxed::Box;
169 /* Allow forced onlining of boxed devices. */
46 Can be 'good' or 'boxed'; 'no path' or 'no device' for
320 pr_warn("%s: The device entered boxed state while being set offline\n", in ccw_device_set_offline()385 pr_warn("%s: Setting the device online failed because it is boxed\n", in ccw_device_set_online()549 return sprintf(buf, "boxed\n"); in available_show()830 * recognition has been done for a boxed device (which will already in io_subchannel_register()
346 CIO_MSG_EVENT(0, "Boxed device %04x on subchannel %04x\n", in ccw_device_done()687 * Handle path verification event in boxed state.
1132 is needed. MBa8MPxL mainboard can be used as starterkit or in a boxed