MCPcopy Create free account
hub / github.com/apache/arrow-rs / wrapping_sub

Method wrapping_sub

arrow-buffer/src/interval.rs:167–173  ·  view source on GitHub ↗
(self, other: Self)

Source from the content-addressed store, hash-verified

165 /// Performs wrapping subtraction
166 #[inline]
167 pub fn wrapping_sub(self, other: Self) -> Self {
168 Self {
169 months: self.months.wrapping_sub(other.months),
170 days: self.days.wrapping_sub(other.days),
171 nanoseconds: self.nanoseconds.wrapping_sub(other.nanoseconds),
172 }
173 }
174
175 /// Performs checked subtraction
176 #[inline]

Callers 11

one_entryFunction · 0.45
parse_nanosFunction · 0.45
newMethod · 0.45
testMethod · 0.45
string_to_timeFunction · 0.45
parse_dateFunction · 0.45
basic.rsFile · 0.45
write_field_beginMethod · 0.45
subtractMethod · 0.45
subtract_u64Method · 0.45
parse_fixed_offsetFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected