MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / inverted

Method inverted

rust/stringzilla.rs:360–364  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

358 /// Returns a new Byteset with all bits inverted, leaving self unchanged.
359 #[inline]
360 pub fn inverted(&self) -> Self {
361 Self {
362 bits: [!self.bits[0], !self.bits[1], !self.bits[2], !self.bits[3]],
363 }
364 }
365
366 /// Constructs a Byteset from a slice of bytes.
367 #[inline]

Callers 2

find_byte_not_fromFunction · 0.45
rfind_byte_not_fromFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected