Searched refs:CastUnsized (Results 1 – 2 of 2) sorted by relevance
| /linux/rust/zerocopy/src/pointer/ |
| H A D | mod.rs | 181 pub enum CastUnsized {} enum 190 unsafe impl<Src, Dst> Project<Src, Dst> for CastUnsized implementation 218 unsafe impl<Src, Dst> Cast<Src, Dst> for CastUnsized implementation 232 unsafe impl<Src, Dst> CastExact<Src, Dst> for CastUnsized implementation
|
| /linux/rust/zerocopy/src/ |
| H A D | impls.rs | 19 use crate::pointer::cast::{CastSizedExact, CastUnsized}; 176 let c = c.transmute_with::<[u8], invariant::Valid, CastUnsized, BecauseImmutable>(); 897 let c: Ptr<'_, ReadOnly<[T]>, _> = c.cast::<_, crate::pointer::cast::CastUnsized, _>(); 912 let c: Ptr<'_, [ReadOnly<T>], _> = c.cast::<_, crate::pointer::cast::CastUnsized, _>();
|