| /linux/rust/zerocopy/src/ |
| H A D | lib.rs | 1575 pub unsafe trait Immutable { global() interface 1880 try_ref_from_bytes(source: &[u8]) -> Result<&Self, TryCastError<&[u8], Self>> where Self: KnownLayout + Immutable, try_ref_from_bytes() argument 2003 try_ref_from_prefix(source: &[u8]) -> Result<(&Self, &[u8]), TryCastError<&[u8], Self>> where Self: KnownLayout + Immutable, try_ref_from_prefix() argument 2113 try_ref_from_suffix(source: &[u8]) -> Result<(&[u8], &Self), TryCastError<&[u8], Self>> where Self: KnownLayout + Immutable, try_ref_from_suffix() argument 4157 ref_from_bytes(source: &[u8]) -> Result<&Self, CastError<&[u8], Self>> where Self: KnownLayout + Immutable, ref_from_bytes() argument 4269 ref_from_prefix(source: &[u8]) -> Result<(&Self, &[u8]), CastError<&[u8], Self>> where Self: KnownLayout + Immutable, ref_from_prefix() argument 5395 ref_from(source: &[u8]) -> Option<&Self> where Self: KnownLayout + Immutable, ref_from() argument 5417 slice_from_prefix(source: &[u8], count: usize) -> Option<(&[Self], &[u8])> where Self: Sized + Immutable, slice_from_prefix() argument 5428 slice_from_suffix(source: &[u8], count: usize) -> Option<(&[u8], &[Self])> where Self: Sized + Immutable, slice_from_suffix() argument 5748 as_bytes(&self) -> &[u8] where Self: Immutable, as_bytes() argument 5924 write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>> where Self: Immutable, write_to() argument 6010 write_to_prefix(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>> where Self: Immutable, write_to_prefix() argument 6105 write_to_suffix(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>> where Self: Immutable, write_to_suffix() argument 6174 write_to_io<W>(&self, mut dst: W) -> io::Result<()> where Self: Immutable, W: io::Write, write_to_io() argument 6941 _takes_immutable(_: &dyn Immutable) test_object_safety() argument [all...] |
| H A D | macros.rs | 1371 transmute_ref<T, U>(t: &T) -> &U where T: IntoBytes + Immutable, U: FromBytes + Immutable, test_transmute_ref() argument 1372 transmute_ref<T, U>(t: &T) -> &U where T: IntoBytes + Immutable, U: FromBytes + Immutable, test_transmute_ref() argument 1701 assert_impls<T: FromBytes + IntoBytes + Immutable>() test_cryptocorrosion_derive_traits() argument [all...] |
| H A D | split_at.rs | 371 via_immutable(self) -> (&'a T, &'a [T::Elem]) where T: Immutable, via_immutable() argument 843 via_immutable(self) -> (Ptr<'a, T, I>, Ptr<'a, [T::Elem], I>) where T: Immutable, I: Invariants<Aliasing = Shared>, via_immutable() argument [all...] |
| /linux/rust/zerocopy/src/util/ |
| H A D | macro_util.rs | 756 try_transmute_ref(self) -> Result<&'a Dst, ValidityError<&'a Src, Dst>> where Src: IntoBytes + Immutable, Dst: TryFromBytes + Immutable, try_transmute_ref() argument 757 try_transmute_ref(self) -> Result<&'a Dst, ValidityError<&'a Src, Dst>> where Src: IntoBytes + Immutable, Dst: TryFromBytes + Immutable, try_transmute_ref() argument [all...] |
| /linux/rust/zerocopy-derive/ |
| H A D | util.rs | 316 Immutable, global() enumerator
|
| /linux/rust/zerocopy/src/pointer/ |
| H A D | ptr.rs | 1378 validate_and_get_len< T: ?Sized + KnownLayout + FromBytes + Immutable, >( slf: Ptr<'_, T, (Shared, Aligned, Initialized)>, ) -> usize test() argument [all...] |