Lines Matching refs:Init
1156 pub unsafe trait Init<T: ?Sized, E = Infallible>: PinInit<T, E> { trait
1208 unsafe impl<T: ?Sized, E, I, F> Init<T, E> for ChainInit<I, F, T, E>
1210 I: Init<T, E>,
1226 I: Init<T, E>,
1269 ) -> impl Init<T, E> { in init_from_closure()
1296 pub const unsafe fn cast_init<T, U, E>(init: impl Init<T, E>) -> impl Init<U, E> { in cast_init()
1309 pub fn uninit<T, E>() -> impl Init<MaybeUninit<T>, E> { in uninit()
1326 ) -> impl Init<[T; N], E> in init_array_from_fn()
1328 I: Init<T, E>,
1464 pub fn init_scope<T, E, F, I>(make_init: F) -> impl Init<T, E> in init_scope()
1467 I: Init<T, E>, in init_scope()
1483 unsafe impl<T> Init<T> for T {
1504 unsafe impl<T, E> Init<T, E> for Result<T, E> {
1531 fn write_init<E>(self, init: impl Init<T, E>) -> Result<Self::Initialized, E>; in write_init()
1592 fn init_zeroed() -> impl Init<Self> in init_zeroed()
1652 pub fn init_zeroed<T: Zeroable>() -> impl Init<T> { in init_zeroed()