Home
last modified time | relevance | path

Searched defs:KnownLayout (Results 1 – 8 of 8) sorted by relevance

/linux/rust/zerocopy/src/util/
H A Dmacros.rs441 … unsafe impl<$($tyvar $(: ?$optbound)?)? $(, const $constvar : $constty)?> KnownLayout for $ty { impl
497 unsafe impl<$($tyvar: ?Sized + KnownLayout)?> KnownLayout for $ty { impl
H A Dmacro_util.rs567 Self::Src: IntoBytes + Immutable + KnownLayout, in try_transmute_ref()
568 Self::Dst: TryFromBytes + Immutable + KnownLayout; in try_transmute_ref()
H A Dmod.rs391 T: ?Sized + crate::KnownLayout, in new_box()
/linux/rust/zerocopy/src/
H A Dlib.rs754 pub unsafe trait KnownLayout { interface
915 T: ?Sized + KnownLayout, in maximum_trailing_slice_len()
1020 unsafe impl<T> KnownLayout for [T] { impl
4363 Self: Immutable + KnownLayout, in ref_from_suffix()
4447 Self: IntoBytes + KnownLayout, in mut_from_bytes()
4540 Self: IntoBytes + KnownLayout, in mut_from_prefix()
4621 Self: IntoBytes + KnownLayout, in mut_from_suffix()
6695 fn _test_kl05<T>(t: T) -> impl KnownLayout { in test_known_layout_derive()
6705 fn _test_kl07<T: KnownLayout>(t: T) -> impl KnownLayout { in test_known_layout_derive()
6853 fn _test_kl15<T: KnownLayout>(t: T) -> impl KnownLayout { in test_known_layout_derive()
H A Derror.rs319 Dst: KnownLayout, in display_verbose_extras()
496 Dst: KnownLayout, in display_verbose_extras()
641 fn display_verbose_extras(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result in display_verbose_extras()
/linux/rust/zerocopy/src/pointer/
H A Dinner.rs242 pub unsafe fn with_meta(self, meta: T::PointerMetadata) -> Self in with_meta()
569 U: 'a + ?Sized + KnownLayout, in try_cast_into()
H A Dmod.rs37 T: crate::Immutable + crate::KnownLayout, in is_zeroed()
/linux/rust/zerocopy-derive/
H A Dutil.rs303 KnownLayout, enumerator