MCPcopy Create free account
hub / github.com/AmrDeveloper/GQL / as_any

Method as_any

crates/gitql-core/src/values/integer.rs:50–52  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

48 }
49
50 fn as_any(&self) -> &dyn Any {
51 self
52 }
53
54 fn add_op(&self, other: &Box<dyn Value>) -> Result<Box<dyn Value>, String> {
55 if let Some(other_int) = other.as_any().downcast_ref::<IntValue>() {

Callers 15

equalsMethod · 0.45
compareMethod · 0.45
add_opMethod · 0.45
sub_opMethod · 0.45
mul_opMethod · 0.45
div_opMethod · 0.45
rem_opMethod · 0.45
caret_opMethod · 0.45
or_opMethod · 0.45
and_opMethod · 0.45
xor_opMethod · 0.45
shl_opMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected