Searched refs:as_vec (Results 1 – 6 of 6) sorted by relevance
4 if let Some(vec) = $v.as_vec() {6 if let Some(tup) = ys.as_vec() {23 if let Some(vec) = $v.as_vec() {25 if let Some(tup) = ys.as_vec() {42 let maybe_vec = $v.as_vec();
87 fn as_vec(&self) -> &Vec<u8> { in as_vec() method124 fn as_vec(&self) -> &Vec<u8>; in as_vec() method398 match utf8::validate(self.as_vec()) { in into_string()428 match self.as_vec().to_str_lossy() { in into_string_lossy()683 let (ch, size) = utf8::decode_last_lossy(self.as_vec()); in pop_char()687 let new_len = self.as_vec().len() - size; in pop_char()727 let (ch, size) = utf8::decode_lossy(&self.as_vec()[at..]); in remove_char()732 self.as_vec().len(), in remove_char()792 let len = self.as_vec().len(); in insert_str()805 self.as_vec().as_ptr().add(at), in insert_str()
1713 if let Some(v) = yaml["settings"].as_vec() { in from()1735 if let Some(v) = yaml["global_settings"].as_vec() { in from()1751 ($a:ident, $y:ident, $as_vec:ident, $as_single:ident) => {{ in from()1752 let maybe_vec = $y[stringify!($as_vec)].as_vec(); in from()1762 if let Some(s) = $y[stringify!($as_vec)].as_str() { in from()1764 } else if $y[stringify!($as_vec)] != Yaml::BadValue { in from()1767 $y[stringify!($as_vec)] in from()1778 if let Some(v) = yaml["args"].as_vec() { in from()1783 if let Some(v) = yaml["subcommands"].as_vec() { in from()1788 if let Some(v) = yaml["groups"].as_vec() { in from()
32 pub fn as_vec(&self) -> &Vec<T> { in as_vec() method
367 let as_vec = test_case.consume_bytes("KEY"); in aead_chacha20_poly1305_openssh() localVariable369 as_array.copy_from_slice(&as_vec); in aead_chacha20_poly1305_openssh()
617 false => quote!(#call.as_vec()), in expand_cxx_function_shim()923 false => quote!(#ident.as_vec()), in expand_rust_function_shim_impl()