[][src]Trait cpp_core::vector_ops::DataMut

pub trait DataMut {
    type Output;
    unsafe fn data_mut(&self) -> Self::Output;
}

Provides mutable access to the underlying memory buffer.

Associated Types

type Output

Return type of data_mut() function.

Loading content...

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.

Loading content...

Implementors

Loading content...