Home
last modified time | relevance | path

Searched refs:AutorefWrapper (Results 1 – 1 of 1) sorted by relevance

/linux/rust/zerocopy/src/
H A Dimpls.rs1575 pub(super) struct AutorefWrapper<T: ?Sized>(pub(super) PhantomData<T>); in test_impls() struct
1583 … impl<T: TryFromBytes + Immutable + ?Sized> TestIsBitValidShared<T> for AutorefWrapper<T> { in test_impls() implementation
1601 … impl<T: TryFromBytes + Immutable + KnownLayout + ?Sized> TestTryFromRef<T> for AutorefWrapper<T> { in test_impls() implementation
1619 … impl<T: TryFromBytes + IntoBytes + KnownLayout + ?Sized> TestTryFromMut<T> for AutorefWrapper<T> { in test_impls() implementation
1633 impl<T: TryFromBytes> TestTryReadFrom<T> for AutorefWrapper<T> { in test_impls() implementation
1644 impl<T: IntoBytes + Immutable + ?Sized> TestAsBytes<T> for AutorefWrapper<T> { in test_impls() implementation
1691 impl AutorefWrapper<$ty> { in test_impls() impl
1794 … let (mut w, mut ww) = (AutorefWrapper::<$ty>(PhantomData), AutorefWrapper::<$ty>(PhantomData)); in test_impls()
1861 let mut w = AutorefWrapper::<$ty>(PhantomData); in test_impls()