Searched defs:IdCast (Results 1 – 3 of 3) sorted by relevance
| /linux/rust/zerocopy/src/pointer/ |
| H A D | mod.rs | 108 unsafe impl<T: ?Sized> CastExact<T, T> for IdCast {} implementation 95 pub struct IdCast; global() struct 100 unsafe impl<T: ?Sized> Project<T, T> for IdCast { global() implementation 111 unsafe impl<T: ?Sized> CastExact<T, T> for IdCast {} global() implementation
|
| H A D | ptr.rs | 475 recall_validity<V, R>(self) -> Ptr<'a, T, (I::Aliasing, I::Alignment, V)> where V: Validity, T: TransmuteFromPtr<T, I::Aliasing, I::Validity, V, IdCast, R>, recall_validity() argument 774 try_into_valid<R, S>( mut self, ) -> Result<Ptr<'a, T, (I::Aliasing, I::Alignment, Valid)>, ValidityError<Self, T>> where T: TryFromBytes + Read<I::Aliasing, R> + TryTransmuteFromPtr<T, I::Aliasing, I::Validity, Valid, IdCast, S>, ReadOnly<T>: Read<I::Aliasing, R>, I::Aliasing: Reference, I: Invariants<Validity = Initialized>, try_into_valid() argument
|
| /linux/rust/zerocopy/src/ |
| H A D | ref.rs | 967 cast_for_sized<'a, T, A, R, S>( ptr: Ptr<'a, [u8], (A, Aligned, Valid)>, ) -> Ptr<'a, T, (A, Unaligned, Valid)> where T: FromBytes + KnownLayout + ?Sized, A: crate::invariant::Aliasing, [u8]: MutationCompatible<T, A, Initialized, Initialized, R>, T: TransmuteFromPtr<T, A, Initialized, Valid, crate::pointer::cast::IdCast, S>, cast_for_sized() argument
|