Home
last modified time | relevance | path

Searched refs:offset_of_union (Results 1 - 1 of 1) sorted by relevance

/third_party/rust/crates/memoffset/src/
H A Doffset_of.rs138 /// use memoffset::offset_of_union;
147 /// assert!(offset_of_union!(Foo, foo64) == 0);
156 macro_rules! offset_of_union { macros
217 assert_eq!(offset_of_union!(Foo, a), 0); in offset_union()
218 assert_eq!(offset_of_union!(Foo, b), 0); in offset_union()
219 assert_eq!(offset_of_union!(Foo, c), 0); in offset_union()

Completed in 1 milliseconds