Home
last modified time | relevance | path

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

/external/rust/crates/zerocopy/src/
Dmacros.rs343 … unsafe impl<$(const $constvar : $constty,)? $($tyvar $(: ?$optbound)?)?> KnownLayout for $ty { impl
378 unsafe impl<$($tyvar: ?Sized + KnownLayout)?> KnownLayout for $ty { impl
Dlib.rs935 pub unsafe trait KnownLayout { interface
956 unsafe impl<T: KnownLayout> KnownLayout for [T] { impl
1250 fn try_from_ref(bytes: &[u8]) -> Option<&Self> in try_from_ref()
6521 fn _test_kl05<T>(t: T) -> impl KnownLayout { in test_known_layout_derive()
6531 fn _test_kl07<T: KnownLayout>(t: T) -> impl KnownLayout { in test_known_layout_derive()
6669 fn _test_kl15<T: KnownLayout>(t: T) -> impl KnownLayout { in test_known_layout_derive()
/external/rust/crates/zerocopy-derive/tests/ui-nightly/
Dmid_compile_pass.rs59 fn test_kl13<T>(t: T) -> impl KnownLayout { in test_kl13()
/external/rust/crates/zerocopy-derive/tests/ui-msrv/
Dmid_compile_pass.rs59 fn test_kl13<T>(t: T) -> impl KnownLayout { in test_kl13()
/external/rust/crates/zerocopy-derive/tests/ui-stable/
Dmid_compile_pass.rs59 fn test_kl13<T>(t: T) -> impl KnownLayout { in test_kl13()
/external/rust/crates/zerocopy-derive/src/
Dlib.rs639 KnownLayout, enumerator