Searched refs:ImplKey (Results 1 – 4 of 4) sorted by relevance
/third_party/rust/crates/cxx/syntax/ |
D | instantiate.rs | 7 pub enum ImplKey<'a> { enum 26 pub(crate) fn impl_key(&self) -> Option<ImplKey> { in impl_key() argument 29 return Some(ImplKey::RustBox(NamedImplKey::new(ty, ident))); in impl_key() 33 return Some(ImplKey::RustVec(NamedImplKey::new(ty, ident))); in impl_key() 37 return Some(ImplKey::UniquePtr(NamedImplKey::new(ty, ident))); in impl_key() 41 return Some(ImplKey::SharedPtr(NamedImplKey::new(ty, ident))); in impl_key() 45 return Some(ImplKey::WeakPtr(NamedImplKey::new(ty, ident))); in impl_key() 49 return Some(ImplKey::CxxVector(NamedImplKey::new(ty, ident))); in impl_key()
|
D | types.rs | 2 use crate::syntax::instantiate::ImplKey; 24 pub impls: OrderedMap<ImplKey<'a>, Option<&'a Impl>>, 179 ImplKey::RustBox(ident) in collect() 180 | ImplKey::RustVec(ident) in collect() 181 | ImplKey::UniquePtr(ident) in collect() 182 | ImplKey::SharedPtr(ident) in collect() 183 | ImplKey::WeakPtr(ident) in collect() 184 | ImplKey::CxxVector(ident) => { in collect()
|
/third_party/rust/crates/cxx/gen/src/ |
D | write.rs | 6 use crate::syntax::instantiate::{ImplKey, NamedImplKey}; 1411 ImplKey::RustBox(ident) => write_rust_box_extern(out, ident), in write_generic_instantiations() 1412 ImplKey::RustVec(ident) => write_rust_vec_extern(out, ident), in write_generic_instantiations() 1413 ImplKey::UniquePtr(ident) => write_unique_ptr(out, ident), in write_generic_instantiations() 1414 ImplKey::SharedPtr(ident) => write_shared_ptr(out, ident), in write_generic_instantiations() 1415 ImplKey::WeakPtr(ident) => write_weak_ptr(out, ident), in write_generic_instantiations() 1416 ImplKey::CxxVector(ident) => write_cxx_vector(out, ident), in write_generic_instantiations() 1425 ImplKey::RustBox(ident) => write_rust_box_impl(out, ident), in write_generic_instantiations() 1426 ImplKey::RustVec(ident) => write_rust_vec_impl(out, ident), in write_generic_instantiations()
|
/third_party/rust/crates/cxx/macro/src/ |
D | expand.rs | 5 use crate::syntax::instantiate::{ImplKey, NamedImplKey}; 96 ImplKey::RustBox(ident) => { in expand() 99 ImplKey::RustVec(ident) => { in expand() 102 ImplKey::UniquePtr(ident) => { in expand() 105 ImplKey::SharedPtr(ident) => { in expand() 108 ImplKey::WeakPtr(ident) => { in expand() 111 ImplKey::CxxVector(ident) => { in expand()
|