Home
last modified time | relevance | path

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

/linux/rust/zerocopy/src/pointer/
H A Dinvariant.rs265 impl<T: ?Sized> Read<Exclusive, BecauseExclusive> for T {}
270 pub enum BecauseExclusive {} enum
297 impl Sealed for BecauseExclusive {} implementation
H A Dmod.rs21 pub use invariant::{BecauseExclusive, BecauseImmutable, Read};
/linux/rust/zerocopy/src/
H A Dref.rs201 invariant::{Aligned, BecauseExclusive, Initialized, Unaligned, Valid},
688 (BecauseRead, BecauseExclusive), in into_mut()
705 .try_cast_into_no_leftover::<T, BecauseExclusive>(None) in into_mut()
864 (BecauseRead, BecauseExclusive), in deref_mut()
881 .try_cast_into_no_leftover::<T, BecauseExclusive>(None) in deref_mut()
883 let ptr = ptr.recall_validity::<_, (_, (_, BecauseExclusive))>(); in deref_mut()
H A Dlib.rs392 invariant::{self, BecauseExclusive},
2210 match Ptr::from_mut(bytes).try_cast_into_no_leftover::<Self, BecauseExclusive>(None) { in try_mut_from_bytes()
2851 match Ptr::from_mut(source).try_cast_into_no_leftover::<Self, BecauseExclusive>(Some(count)) in try_mut_from_bytes_with_elems()
3323 match Ptr::from_mut(candidate).try_cast_into::<T, BecauseExclusive>(cast_type, meta) { in try_mut_from_prefix_suffix()
4450 match Ptr::from_mut(source).try_cast_into_no_leftover::<_, BecauseExclusive>(None) { in mut_from_bytes()
4993 Ok(slf) => Ok(slf.recall_validity::<_, (_, (_, BecauseExclusive))>().as_mut()), in mut_from_bytes_with_elems()
5501 .try_cast_into::<_, BecauseExclusive>(cast_type, meta) in mut_from_prefix_suffix()