Home
last modified time | relevance | path

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

/linux/rust/zerocopy/src/util/
H A Dmacro_util.rs267 pub trait SizeToTag<const SIZE: usize> { interface
271 impl SizeToTag<1> for () { impl
274 impl SizeToTag<2> for () { implementation
277 impl SizeToTag<4> for () { impl
280 impl SizeToTag<8> for () { impl
283 impl SizeToTag<16> for () { implementation
290 pub type SizeToTag<const SIZE: usize> = <() as size_to_tag::SizeToTag<SIZE>>::Tag; typedef
/linux/rust/zerocopy-derive/derive/
H A Dtry_from_bytes.rs383 type ___ZerocopyTagPrimitive = #zerocopy_crate::util::macro_util::SizeToTag< in derive_is_bit_valid()