| /commonlibrary/rust/ylong_json/src/value/ |
| D | index.rs | 22 fn index_into<'a>(&self, value: &'a JsonValue) -> &'a JsonValue; in index_into() 25 fn index_into_mut<'a>(&self, value: &'a mut JsonValue) -> &'a mut JsonValue; in index_into_mut() 28 fn index_remove(&self, value: &mut JsonValue) -> Option<JsonValue>; in index_remove() 62 fn index_into<'a>(&self, value: &'a JsonValue) -> &'a JsonValue { in index_into() 107 fn index_into_mut<'a>(&self, value: &'a mut JsonValue) -> &'a mut JsonValue { in index_into_mut() 136 fn index_remove(&self, value: &mut JsonValue) -> Option<JsonValue> { in index_remove() 173 fn index_into<'a>(&self, value: &'a JsonValue) -> &'a JsonValue { in index_into() 216 fn index_into_mut<'a>(&self, value: &'a mut JsonValue) -> &'a mut JsonValue { in index_into_mut() 258 fn index_remove(&self, value: &mut JsonValue) -> Option<JsonValue> { in index_remove() 268 fn index_into<'a>(&self, value: &'a JsonValue) -> &'a JsonValue { in index_into() [all …]
|
| /commonlibrary/rust/ylong_json/src/value/array/ |
| D | linked_list.rs | 97 pub fn push(&mut self, value: JsonValue) { in push() 113 pub fn pop(&mut self) -> Option<JsonValue> { in pop() 126 pub fn iter(&self) -> Iter<'_, JsonValue> { in iter() argument 139 pub fn iter_mut(&mut self) -> IterMut<'_, JsonValue> { in iter_mut() argument 154 pub fn get(&self, index: usize) -> Option<&JsonValue> { in get() 169 pub fn get_mut(&mut self, index: usize) -> Option<&mut JsonValue> { in get_mut() 185 pub fn last(&self) -> Option<&JsonValue> { in last() 200 pub fn last_mut(&mut self) -> Option<&mut JsonValue> { in last_mut() 220 pub fn remove(&mut self, index: usize) -> Option<JsonValue> { in remove() 238 pub fn get_node(&self, index: usize) -> Option<&Node<JsonValue>> { in get_node() [all …]
|
| D | vec.rs | 96 pub fn push(&mut self, value: JsonValue) { in push() 112 pub fn pop(&mut self) -> Option<JsonValue> { in pop() 125 pub fn iter(&self) -> Iter<'_, JsonValue> { in iter() argument 138 pub fn iter_mut(&mut self) -> IterMut<'_, JsonValue> { in iter_mut() argument 153 pub fn get(&self, index: usize) -> Option<&JsonValue> { in get() 168 pub fn get_mut(&mut self, index: usize) -> Option<&mut JsonValue> { in get_mut() 183 pub fn last(&self) -> Option<&JsonValue> { in last() 198 pub fn last_mut(&mut self) -> Option<&mut JsonValue> { in last_mut() 218 pub fn remove(&mut self, index: usize) -> Option<JsonValue> { in remove()
|
| /commonlibrary/rust/ylong_json/src/value/object/ |
| D | linked_list.rs | 117 pub fn insert(&mut self, key: String, value: JsonValue) { in insert() 134 pub fn remove(&mut self, key: &str) -> Option<JsonValue> { in remove() 147 pub fn iter(&self) -> Iter<'_, (String, JsonValue)> { in iter() argument 160 pub fn iter_mut(&mut self) -> IterMut<'_, (String, JsonValue)> { in iter_mut() argument 177 pub fn get(&self, key: &str) -> Option<&JsonValue> { in get() 194 pub fn get_mut(&mut self, key: &str) -> Option<&mut JsonValue> { in get_mut() 214 pub fn get_node(&self, key: &str) -> Option<&Node<(String, JsonValue)>> { in get_node() argument 233 pub fn get_node_mut(&mut self, key: &str) -> Option<&mut Node<(String, JsonValue)>> { in get_node_mut() argument 239 pub(crate) fn last_node_mut(&mut self) -> Option<&mut Node<(String, JsonValue)>> { in last_node_mut() argument 246 pub(crate) fn get_key_mut_maybe_insert(&mut self, key: &str) -> &mut JsonValue { in get_key_mut_maybe_insert() [all …]
|
| D | vec.rs | 119 pub fn insert(&mut self, key: String, value: JsonValue) { in insert() 136 pub fn remove(&mut self, key: &str) -> Option<JsonValue> { in remove() 150 pub fn iter(&self) -> Iter<'_, (String, JsonValue)> { in iter() argument 163 pub fn iter_mut(&mut self) -> IterMut<'_, (String, JsonValue)> { in iter_mut() argument 180 pub fn get(&self, key: &str) -> Option<&JsonValue> { in get() 197 pub fn get_mut(&mut self, key: &str) -> Option<&mut JsonValue> { in get_mut() 205 pub(crate) fn last_mut(&mut self) -> Option<&mut JsonValue> { in last_mut() 209 pub(crate) fn get_mut_by_position(&mut self, index: usize) -> Option<&mut JsonValue> { in get_mut_by_position()
|
| D | btree.rs | 114 pub fn insert(&mut self, key: String, value: JsonValue) { in insert() 130 pub fn remove(&mut self, key: &str) -> Option<JsonValue> { in remove() 143 pub fn iter(&self) -> Iter<'_, String, JsonValue> { in iter() argument 156 pub fn iter_mut(&mut self) -> IterMut<'_, String, JsonValue> { in iter_mut() argument 172 pub fn get(&self, key: &str) -> Option<&JsonValue> { in get() 188 pub fn get_mut(&mut self, key: &str) -> Option<&mut JsonValue> { in get_mut()
|
| /commonlibrary/rust/ylong_json/src/ |
| D | value.rs | 65 pub enum JsonValue { enum 95 impl Display for JsonValue { implementation 109 impl Debug for JsonValue { implementation 115 impl JsonValue { implementation 668 pub fn remove<I: index::Index>(&mut self, index: I) -> Option<JsonValue> { in remove() 799 impl FromStr for JsonValue { implementation 823 impl PartialEq for JsonValue { implementation 874 impl<I: index::Index> core::ops::Index<I> for JsonValue { implementation 882 impl<I: index::Index> core::ops::IndexMut<I> for JsonValue { implementation 888 impl From<&str> for JsonValue { implementation [all …]
|
| D | states.rs | 88 ) -> Result<JsonValue, Error> { in start_parsing() 99 fn parse_value<R: Cacheable>(deserializer: &mut Deserializer<R>) -> Result<JsonValue, Error> { in parse_value() 135 fn parse_object<R: Cacheable>(deserializer: &mut Deserializer<R>) -> Result<JsonValue, Error> { in parse_object() 439 fn parse_array<R: Cacheable>(deserializer: &mut Deserializer<R>) -> Result<JsonValue, Error> { in parse_array()
|