| /linux/rust/zerocopy/src/util/ |
| H A D | macros.rs | 441 unsafe impl<$($tyvar $(: ?$optbound)?)? $(, const $constvar : $constty)?> KnownLayout for $ty { global() impl 497 unsafe impl<$($tyvar: ?Sized + KnownLayout)?> KnownLayout for $ty { global() impl [all...] |
| H A D | macro_util.rs | 567 try_transmute_ref(self) -> Result<&'a Self::Dst, ValidityError<&'a Self::Src, Self::Dst>> where Self: TryTransmuteRefSrc<'a>, Self::Src: IntoBytes + Immutable + KnownLayout, Self::Dst: TryFromBytes + Immutable + KnownLayout try_transmute_ref() argument 568 try_transmute_ref(self) -> Result<&'a Self::Dst, ValidityError<&'a Self::Src, Self::Dst>> where Self: TryTransmuteRefSrc<'a>, Self::Src: IntoBytes + Immutable + KnownLayout, Self::Dst: TryFromBytes + Immutable + KnownLayout try_transmute_ref() argument [all...] |
| H A D | mod.rs | 391 new_box<T>( meta: T::PointerMetadata, allocate: unsafe fn(core::alloc::Layout) -> *mut u8, ) -> Result<alloc::boxed::Box<T>, AllocError> where T: ?Sized + crate::KnownLayout, new_box() argument [all...] |
| /linux/rust/zerocopy/src/ |
| H A D | lib.rs | 754 pub unsafe trait KnownLayout { global() interface 915 maximum_trailing_slice_len<T>() -> usize where T: ?Sized + KnownLayout, maximum_trailing_slice_len() argument 1020 unsafe impl<T> KnownLayout for [T] { global() impl 4363 ref_from_suffix(source: &[u8]) -> Result<(&[u8], &Self), CastError<&[u8], Self>> where Self: Immutable + KnownLayout, ref_from_suffix() argument 4447 mut_from_bytes(source: &mut [u8]) -> Result<&mut Self, CastError<&mut [u8], Self>> where Self: IntoBytes + KnownLayout, mut_from_bytes() argument 4540 mut_from_prefix( source: &mut [u8], ) -> Result<(&mut Self, &mut [u8]), CastError<&mut [u8], Self>> where Self: IntoBytes + KnownLayout, mut_from_prefix() argument 4621 mut_from_suffix( source: &mut [u8], ) -> Result<(&mut [u8], &mut Self), CastError<&mut [u8], Self>> where Self: IntoBytes + KnownLayout, mut_from_suffix() argument 6695 _test_kl05<T>(t: T) -> impl KnownLayout test_known_layout_derive() argument 6705 _test_kl07<T: KnownLayout>(t: T) -> impl KnownLayout test_known_layout_derive() argument 6853 _test_kl15<T: KnownLayout>(t: T) -> impl KnownLayout test_known_layout_derive() argument [all...] |
| H A D | error.rs | 641 Dst: KnownLayout, in display_verbose_extras() argument 319 display_verbose_extras(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result where Src: Deref, Dst: KnownLayout, display_verbose_extras() argument 496 display_verbose_extras(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result where Src: Deref, Dst: KnownLayout, display_verbose_extras() argument [all...] |
| /linux/rust/zerocopy/src/pointer/ |
| H A D | inner.rs | 242 with_meta(self, meta: T::PointerMetadata) -> Self where T: KnownLayout, with_meta() argument 569 try_cast_into<U>( self, cast_type: CastType, meta: Option<U::PointerMetadata>, ) -> Result<(PtrInner<'a, U>, PtrInner<'a, [u8]>), CastError<Self, U>> where U: 'a + ?Sized + KnownLayout, try_cast_into() argument
|
| H A D | mod.rs | 37 T: crate::Immutable + crate::KnownLayout, in is_zeroed() argument [all...] |
| /linux/rust/zerocopy-derive/ |
| H A D | util.rs | 303 KnownLayout, global() enumerator
|