Searched refs:raw_field_union (Results 1 – 2 of 2) sorted by relevance
/third_party/rust/crates/memoffset/src/ |
D | offset_of.rs | 161 let field_ptr = raw_field_union!(base_ptr, $parent, $field); 310 assert_eq!(f_ptr as usize + 0, raw_field_union!(f_ptr, Foo, a) as usize); in test_raw_field_union() 311 assert_eq!(f_ptr as usize + 0, raw_field_union!(f_ptr, Foo, b) as usize); in test_raw_field_union() 312 assert_eq!(f_ptr as usize + 0, raw_field_union!(f_ptr, Foo, c) as usize); in test_raw_field_union()
|
D | raw_field.rs | 213 macro_rules! raw_field_union { macro
|