Struct froggy::Slice [] [src]

pub struct Slice<'a, T: 'a> { /* fields omitted */ }

A slice of a storage. Useful for cursor iteration.

Methods

impl<'a, T> Slice<'a, T>
[src]

[src]

Check if the slice contains no elements.

[src]

Get a reference by pointer. Returns None if an element is outside of the slice.

[src]

Get a mutable reference by pointer. Returns None if an element is outside of the slice.

Trait Implementations

impl<'a, T: Debug + 'a> Debug for Slice<'a, T>
[src]

[src]

Formats the value using the given formatter.