[][src]Trait cpp_core::ops::Begin

pub trait Begin {
    type Output;
    unsafe fn begin(&self) -> Self::Output;
}

Represents C++'s begin() const function.

Associated Types

type Output

Output type.

Loading content...

Required methods

unsafe fn begin(&self) -> Self::Output

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.

Loading content...

Implementors

Loading content...