Struct cognitive_exhibitor::SurfaceHistory [] [src]

pub struct SurfaceHistory { /* fields omitted */ }

Provides functionality to manage surface history as resizable list.

Methods

impl SurfaceHistory
[src]

SurfaceHistory constructor.

Add surface as the latest in history.

Return nth element from begin. If n is negative, return nth element from end.

Make given surface the latest in history.

Remove surface. Shrink underlying memory pool if needed.

Return iterator for SurfaceHistory.