Lines Matching refs:Sized
23 pub(crate) struct InitClosure<F, T: ?Sized, E>(pub(crate) F, pub(crate) Invariant<(E, T)>);
27 unsafe impl<T: ?Sized, F, E> Init<T, E> for InitClosure<F, T, E>
39 unsafe impl<T: ?Sized, F, E> PinInit<T, E> for InitClosure<F, T, E>
68 type Datee: ?Sized + HasPinData;
98 type Datee: ?Sized + HasInitData;
109 pub struct AllData<T: ?Sized>(Invariant<T>);
111 impl<T: ?Sized> Clone for AllData<T> {
117 impl<T: ?Sized> Copy for AllData<T> {}
120 unsafe impl<T: ?Sized> InitData for AllData<T> {
125 unsafe impl<T: ?Sized> HasInitData for T {
221 pub struct DropGuard<T: ?Sized> {
225 impl<T: ?Sized> DropGuard<T> {
242 impl<T: ?Sized> Drop for DropGuard<T> {
271 pub struct AlwaysFail<T: ?Sized> {
275 impl<T: ?Sized> AlwaysFail<T> {
282 impl<T: ?Sized> Default for AlwaysFail<T> {
289 unsafe impl<T: ?Sized> PinInit<T, ()> for AlwaysFail<T> {