Trait Begin
Source pub trait Begin {
type Output;
// Required method
unsafe fn begin(&self) -> Self::Output;
}
Expand description
Represents C++’s begin() const
function.
Returns a C++ const iterator object pointing to the beginning of the collection.
§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.