[][src]Trait cpp_core::vector_ops::Size

pub trait Size {
    unsafe fn size(&self) -> usize;
}

Required methods

unsafe fn size(&self) -> usize

Returns size of the underlying buffer in elements.

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...