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

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

Provides access to the size of the collection.

Required methods

unsafe fn size(&self) -> usize

Returns number of the elements in the underlying 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...