Home
last modified time | relevance | path

Searched refs:StaticAssert (Results 1 – 1 of 1) sorted by relevance

/linux/rust/zerocopy/src/util/
H A Dmacros.rs652 trait StaticAssert { trait
656 impl<T $(: $(? $optbound +)* $($bound +)*)?> StaticAssert for T {
663 const_assert!(<Self as StaticAssert>::ASSERT);
666 trait StaticAssert { trait
671 …impl<$($tyvar $(: $(? $optbound +)* $($bound +)*)?,)*> StaticAssert for ($(core::marker::PhantomDa… impl
678 const_assert!(<($(core::marker::PhantomData<$tyvar>,)*) as StaticAssert>::ASSERT);