Trait Size
Source pub trait Size {
// Required method
unsafe fn size(&self) -> usize;
}
Expand description
Provides access to the size of the collection.
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.