[−][src]Trait cpp_core::vector_ops::Data
Provides access to the underlying memory buffer.
Associated Types
type Output
Return type of data()
function.
Required methods
unsafe fn data(&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.