forked from BigfootDev/flatbuffers
[Rust] Shared String (#6367)
* Adds shared strings and tests for shared strings * Adds resets on string_map * Moved shared strings to use vector instead of hashmap * Addresses all the issues * Resolves some comments
This commit is contained in:
@@ -93,6 +93,8 @@ impl<T> Clone for WIPOffset<T> {
|
||||
}
|
||||
}
|
||||
|
||||
impl<T> Eq for WIPOffset<T> {}
|
||||
|
||||
impl<T> PartialEq for WIPOffset<T> {
|
||||
fn eq(&self, o: &WIPOffset<T>) -> bool {
|
||||
self.value() == o.value()
|
||||
|
||||
Reference in New Issue
Block a user