MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / eq

Method eq

rust/src/basic_block.rs:270–274  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

268
269impl<C: BlockContext> PartialEq for BasicBlock<C> {
270 fn eq(&self, other: &Self) -> bool {
271 self.function() == other.function()
272 && self.index() == other.index()
273 && self.block_type() == other.block_type()
274 }
275}
276
277impl<C: BlockContext> Eq for BasicBlock<C> {}

Callers

nothing calls this directly

Calls 3

block_typeMethod · 0.80
functionMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected