We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 207f62c commit 2c7c6e8Copy full SHA for 2c7c6e8
1 file changed
src/data_repr.rs
@@ -53,6 +53,10 @@ impl<A> OwnedRepr<A> {
53
self.ptr.as_ptr()
54
}
55
56
+ pub(crate) fn as_ptr_mut(&self) -> *mut A {
57
+ self.ptr.as_ptr()
58
+ }
59
+
60
pub(crate) fn as_nonnull_mut(&mut self) -> NonNull<A> {
61
self.ptr
62
0 commit comments