Searched refs:AsBytesCast (Results 1 – 2 of 2) sorted by relevance
| /linux/rust/zerocopy/src/pointer/ |
| H A D | mod.rs | 363 pub struct AsBytesCast; struct 372 unsafe impl<T: ?Sized + KnownLayout> Project<T, [u8]> for AsBytesCast { implementation 390 unsafe impl<T: ?Sized + KnownLayout> Cast<T, [u8]> for AsBytesCast {} implementation 393 unsafe impl<T: ?Sized + KnownLayout> CastExact<T, [u8]> for AsBytesCast {} implementation
|
| H A D | ptr.rs | 813 pointer::cast::{AsBytesCast, Cast}, 1020 [u8]: TransmuteFromPtr<T, I::Aliasing, I::Validity, Valid, AsBytesCast, R>, in as_bytes() argument 1022 self.transmute_with::<[u8], Valid, AsBytesCast, _>().bikeshed_recall_aligned() in as_bytes()
|