Searched defs:KnownLayout (Results 1 – 8 of 8) sorted by relevance
| /linux/rust/zerocopy/src/util/ |
| H A D | macros.rs | 441 … unsafe impl<$($tyvar $(: ?$optbound)?)? $(, const $constvar : $constty)?> KnownLayout for $ty { impl 497 unsafe impl<$($tyvar: ?Sized + KnownLayout)?> KnownLayout for $ty { impl
|
| H A D | macro_util.rs | 567 Self::Src: IntoBytes + Immutable + KnownLayout, in try_transmute_ref() 568 Self::Dst: TryFromBytes + Immutable + KnownLayout; in try_transmute_ref()
|
| H A D | mod.rs | 391 T: ?Sized + crate::KnownLayout, in new_box()
|
| /linux/rust/zerocopy/src/ |
| H A D | lib.rs | 754 pub unsafe trait KnownLayout { trait 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 D | error.rs | 319 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 D | inner.rs | 242 pub unsafe fn with_meta(self, meta: T::PointerMetadata) -> Self in with_meta() 569 U: 'a + ?Sized + KnownLayout, in try_cast_into()
|
| H A D | mod.rs | 37 T: crate::Immutable + crate::KnownLayout, in is_zeroed()
|
| /linux/rust/zerocopy-derive/ |
| H A D | util.rs | 303 KnownLayout, enumerator
|