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

Method eq

arrow-buffer/src/buffer/mutable.rs:1105–1113  ·  view source on GitHub ↗
(&self, other: &MutableBuffer)

Source from the content-addressed store, hash-verified

1103
1104impl PartialEq for MutableBuffer {
1105 fn eq(&self, other: &MutableBuffer) -> bool {
1106 if self.len != other.len {
1107 return false;
1108 }
1109 if self.layout != other.layout {
1110 return false;
1111 }
1112 self.as_slice() == other.as_slice()
1113 }
1114}
1115
1116unsafe impl Sync for MutableBuffer {}

Callers

nothing calls this directly

Calls 1

as_sliceMethod · 0.45

Tested by

no test coverage detected