[][src]Struct unsegen_pager::LineNumberDecorator

pub struct LineNumberDecorator<L> { /* fields omitted */ }

Draw line numbers next to every line.

Add to PagerContent using with_decorator.

Trait Implementations

impl<L: PagerLine> LineDecorator for LineNumberDecorator<L>[src]

type Line = L

The type of line that can be decorated using this implementation.

impl<L> Default for LineNumberDecorator<L>[src]

Auto Trait Implementations

impl<L> Unpin for LineNumberDecorator<L> where
    L: Unpin

impl<L> Sync for LineNumberDecorator<L> where
    L: Sync

impl<L> Send for LineNumberDecorator<L> where
    L: Send

impl<L> RefUnwindSafe for LineNumberDecorator<L> where
    L: RefUnwindSafe

impl<L> UnwindSafe for LineNumberDecorator<L> where
    L: UnwindSafe

Blanket Implementations

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

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

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.

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

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

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