Home
last modified time | relevance | path

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

/third_party/rust/crates/memoffset/src/
Dspan_of.rs108 let end = raw_field!($root, $parent, $end);
112 ($root as usize, raw_field!($root, $parent, $end) as usize)
116 let begin = raw_field!($root, $parent, $begin);
117 let end = raw_field!($root, $parent, $end);
121 (raw_field!($root, $parent, $begin) as usize,
122 raw_field!($root, $parent, $end) as usize)
126 (raw_field!($root, $parent, $begin) as usize,
135 let field = raw_field!($root, $parent, $field);
Doffset_of.rs105 let field_ptr = raw_field!(base_ptr, $parent, $field);
273 assert_eq!(f_ptr as usize + 0, raw_field!(f_ptr, Foo, a) as usize); in test_raw_field()
274 assert_eq!(f_ptr as usize + 4, raw_field!(f_ptr, Foo, b) as usize); in test_raw_field()
275 assert_eq!(f_ptr as usize + 8, raw_field!(f_ptr, Foo, c) as usize); in test_raw_field()
Dlib.rs89 mod raw_field; module
Draw_field.rs163 macro_rules! raw_field { macro