Home
last modified time | relevance | path

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

/external/rust/crates/bindgen/src/codegen/
Dmod.rs101 struct DerivableTraits: u16 {
114 fn derives_of_item(item: &Item, ctx: &BindgenContext) -> DerivableTraits { in derives_of_item() argument
115 let mut derivable_traits = DerivableTraits::empty(); in derives_of_item()
118 derivable_traits |= DerivableTraits::DEBUG; in derives_of_item()
122 derivable_traits |= DerivableTraits::DEFAULT; in derives_of_item()
128 derivable_traits |= DerivableTraits::COPY; in derives_of_item()
139 derivable_traits |= DerivableTraits::CLONE; in derives_of_item()
144 derivable_traits |= DerivableTraits::HASH; in derives_of_item()
148 derivable_traits |= DerivableTraits::PARTIAL_ORD; in derives_of_item()
152 derivable_traits |= DerivableTraits::ORD; in derives_of_item()
[all …]