[][src]Trait cpp_core::EndPtr

pub trait EndPtr {
    type Item;
    fn end_ptr(&self) -> *const Self::Item;
}

A convenience trait that provides end_ptr() method for slices.

Associated Types

type Item

Type of item.

Loading content...

Required methods

fn end_ptr(&self) -> *const Self::Item

Returns pointer to the end of the slice (past the last element).

Loading content...

Implementations on Foreign Types

impl<'a, T> EndPtr for &'a [T][src]

type Item = T

impl<'a> EndPtr for &'a str[src]

Loading content...

Implementors

Loading content...