[−][src]Trait cpp_core::vector_ops::VectorAsMutSlice
Associated Types
type Item
Required methods
unsafe fn vector_as_mut_slice(&mut self) -> &mut [Self::Item]
Returns the content of the vector as a slice.
Safety
The caller must make sure self
contains a valid pointer. The content must
not be read or modified through other ways while the returned slice exists.
This function
may invoke arbitrary foreign code, so no safety guarantees can be made.
Implementors
impl<V, T> VectorAsMutSlice for V where
V: DataMut<Output = MutPtr<T>> + Size,
[src]
V: DataMut<Output = MutPtr<T>> + Size,