MCPcopy Create free account
hub / github.com/cryptape/rust-numext / clear

Method clear

constructor/src/fixed_uint/core/constructor.rs:262–269  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

260 }
261
262 pub fn clear(&self) {
263 let _ = self.uint_common.take();
264 let _ = self.defuns.take();
265 let _ = self.implts.take();
266 let _ = self.common.take();
267 let _ = self.errors.take();
268 let _ = self.utils.take();
269 }
270
271 pub fn attach_uint(&self, part: TokenStream) {
272 let mut o = self.uint_common.take();

Callers 1

construct_allMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected