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

Method last

arrow-buffer/src/util/bit_iterator.rs:106–117  ·  view source on GitHub ↗
(mut self)

Source from the content-addressed store, hash-verified

104 }
105
106 fn last(mut self) -> Option<Self::Item> {
107 // If already at the end, return None
108 if self.current_offset == self.end_offset {
109 return None;
110 }
111
112 // Go to the one before the last bit
113 self.current_offset = self.end_offset - 1;
114
115 // Return the last bit
116 self.next()
117 }
118
119 fn max(self) -> Option<Self::Item>
120 where

Callers 4

max_valueMethod · 0.45
get_physical_indicesMethod · 0.45
set_remainder_bitsFunction · 0.45
get_valueMethod · 0.45

Calls 1

nextMethod · 0.45

Tested by

no test coverage detected