Searched refs:FieldAccessorKind (Results 1 – 2 of 2) sorted by relevance
/external/rust/crates/bindgen/src/ir/ |
D | annotations.rs | 11 pub enum FieldAccessorKind { enum 50 accessor_kind: Option<FieldAccessorKind>, 69 fn parse_accessor(s: &str) -> FieldAccessorKind { in parse_accessor() argument 71 "false" => FieldAccessorKind::None, in parse_accessor() 72 "unsafe" => FieldAccessorKind::Unsafe, in parse_accessor() 73 "immutable" => FieldAccessorKind::Immutable, in parse_accessor() 74 _ => FieldAccessorKind::Regular, in parse_accessor() 172 pub fn accessor_kind(&self) -> Option<FieldAccessorKind> { in accessor_kind() argument
|
/external/rust/crates/bindgen/src/codegen/ |
D | mod.rs | 21 use crate::ir::annotations::FieldAccessorKind; 1151 accessor_kind: FieldAccessorKind, in codegen() argument 1171 accessor_kind: FieldAccessorKind, in codegen() argument 1223 accessor_kind: FieldAccessorKind, in codegen() argument 1317 if accessor_kind == FieldAccessorKind::None { in codegen() 1327 FieldAccessorKind::None => unreachable!(), in codegen() 1328 FieldAccessorKind::Regular => { in codegen() 1341 FieldAccessorKind::Unsafe => { in codegen() 1354 FieldAccessorKind::Immutable => { in codegen() 1439 accessor_kind: FieldAccessorKind, in codegen() argument [all …]
|