We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f33d77 commit d7d6b5dCopy full SHA for d7d6b5d
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