Searched defs:CastFrom (Results 1 – 5 of 5) sorted by relevance
| /linux/rust/zerocopy/src/pointer/ |
| H A D | transmute.rs | 326 type CastFrom: CastExact<Src, Self>; typedef 330 type CastFrom = cast::IdCast; typedef 484 type CastFrom = CastSizedExact; typedef 488 type CastFrom = CastSizedExact; typedef
|
| H A D | ptr.rs | 439 U: TransmuteFromPtr<T, I::Aliasing, I::Validity, V, <U as SizeEq<T>>::CastFrom, R> in transmute()
|
| /linux/rust/zerocopy/src/ |
| H A D | layout.rs | 761 pub(crate) struct CastFrom<Dst: ?Sized> { struct 762 _never: core::convert::Infallible, 763 _marker: PhantomData<Dst>, 768 unsafe impl<Src, Dst> crate::pointer::cast::Cast<Src, Dst> for CastFrom<Dst> implementation 777 unsafe impl<Src, Dst> crate::pointer::cast::CastExact<Src, Dst> for CastFrom<Dst> implementation 788 unsafe impl<Src, Dst> crate::pointer::cast::Project<Src, Dst> for CastFrom<Dst> implementation
|
| H A D | wrappers.rs | 702 type CastFrom = CastFromReadOnly; typedef 706 type CastFrom = CastToReadOnly; typedef
|
| /linux/rust/zerocopy/src/util/ |
| H A D | mod.rs | 343 + TransmuteFromPtr<Src, Shared, Valid, Valid, <Dst as SizeEq<Src>>::CastFrom, R> in transmute_ref() 360 + TransmuteFromPtr<Src, Exclusive, Valid, Valid, <Dst as SizeEq<Src>>::CastFrom, R> in transmute_mut()
|