MCPcopy Create free account
hub / github.com/docknetwork/crypto / add

Method add

proof_system/src/statement/mod.rs:153–156  ·  view source on GitHub ↗
(&mut self, item: Statement<E>)

Source from the content-addressed store, hash-verified

151 }
152
153 pub fn add(&mut self, item: Statement<E>) -> usize {
154 self.0.push(item);
155 self.0.len() - 1
156 }
157
158 pub fn is_empty(&self) -> bool {
159 self.0.is_empty()

Calls 1

lenMethod · 0.45

Tested by 1