[][src]Enum penrose::core::ring::InsertPoint

pub enum InsertPoint {
    Index(usize),
    Focused,
    AfterFocused,
    First,
    Last,
}

Where a given element should be inserted into a Ring

Variants

Index(usize)

At the specified index (last if out of bounds)

Focused

In place of the current focused element (pushing focused and later down in the stack)

AfterFocused

After the current focused element (pushing later elements down in the stack)

First

As the first element in the stack

Last

As the last element in the stack

Trait Implementations

impl Clone for InsertPoint[src]

impl Copy for InsertPoint[src]

impl Debug for InsertPoint[src]

impl Eq for InsertPoint[src]

impl Hash for InsertPoint[src]

impl PartialEq<InsertPoint> for InsertPoint[src]

impl StructuralEq for InsertPoint[src]

impl StructuralPartialEq for InsertPoint[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.