Skip to main content

Begin

Trait Begin 

Source
pub trait Begin {
    type Output;

    // Required method
    fn begin(self) -> Self::Output;
}
Expand description

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

Required Associated Types§

Source

type Output

Output type.

Required Methods§

Source

fn begin(self) -> Self::Output

Returns a C++ const iterator object pointing to the beginning of the collection.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§