Searched refs:pub_fn (Results 1 – 5 of 5) sorted by relevance
/external/rust/crates/grpcio-compiler/src/ |
D | codegen.rs | 169 pub fn pub_fn<F>(&mut self, sig: &str, cb: F) in pub_fn() method 403 w.pub_fn(&self.unary_opt(&method_name), |w| { in write_client() 411 w.pub_fn(&self.unary(&method_name), |w| { in write_client() 420 w.pub_fn(&self.unary_async_opt(&method_name), |w| { in write_client() 428 w.pub_fn(&self.unary_async(&method_name), |w| { in write_client() 439 w.pub_fn(&self.client_streaming_opt(&method_name), |w| { in write_client() 447 w.pub_fn(&self.client_streaming(&method_name), |w| { in write_client() 458 w.pub_fn(&self.server_streaming_opt(&method_name), |w| { in write_client() 466 w.pub_fn(&self.server_streaming(&method_name), |w| { in write_client() 477 w.pub_fn(&self.duplex_streaming_opt(&method_name), |w| { in write_client() [all …]
|
/external/rust/crates/protobuf-codegen/src/field/ |
D | mod.rs | 1724 w.pub_fn(&fn_def, |w| match self.kind { in write_message_field_get() 1790 w.pub_fn(&format!("{}(&self) -> bool", self.has_name()), |w| { in write_message_field_has() 1811 w.pub_fn( in write_message_field_set() 1855 w.pub_fn(&fn_def, |w| { in write_message_field_mut() 1945 w.pub_fn( in write_message_field_take() 2002 w.pub_fn(&format!("{}(&mut self)", clear_field_func), |w| { in write_message_single_field_accessors()
|
/external/rust/crates/protobuf-codegen/src/ |
D | lib.rs | 153 w.pub_fn( in write_file_descriptor_data()
|
D | code_writer.rs | 285 pub fn pub_fn<F>(&mut self, sig: &str, cb: F) in pub_fn() method
|
D | message.rs | 235 w.pub_fn(&format!("new() -> {}", self.type_name), |w| { in write_impl_self()
|