[−][src]Trait cpp_core::vector_ops::DataMut
Provides mutable access to the underlying memory buffer.
Associated Types
type Output
Return type of data_mut()
function.
Required methods
unsafe fn data_mut(&self) -> Self::Output
Returns a pointer to the underlying memory buffer.
Safety
The caller must make sure self
contains a valid pointer. This function
may invoke arbitrary foreign code, so no safety guarantees can be made.