[][src]Struct broot::syntactic::SyntacticView

pub struct SyntacticView {
    pub pattern: InputPattern,
    // some fields omitted
}

Fields

pattern: InputPattern

Implementations

impl SyntacticView[src]

pub fn new(
    path: &Path,
    pattern: InputPattern,
    dam: &mut Dam,
    con: &AppContext
) -> Result<Option<Self>>
[src]

pub fn line_counts(&self) -> (usize, usize)[src]

(count of lines which can be seen when scrolling, total count including filtered ones)

pub fn get_selected_line_number(&self) -> Option<LineNumber>[src]

pub fn unselect(&mut self)[src]

pub fn try_select_y(&mut self, y: u16) -> bool[src]

pub fn select_first(&mut self)[src]

pub fn select_last(&mut self)[src]

pub fn try_select_line_number(&mut self, number: LineNumber) -> bool[src]

pub fn select_previous_line(&mut self)[src]

pub fn select_next_line(&mut self)[src]

pub fn try_scroll(&mut self, cmd: ScrollCommand) -> bool[src]

pub fn display(
    &mut self,
    w: &mut W,
    _screen: &Screen,
    panel_skin: &PanelSkin,
    area: &Area
) -> Result<(), ProgramError>
[src]

pub fn display_info(
    &mut self,
    w: &mut W,
    _screen: &Screen,
    panel_skin: &PanelSkin,
    area: &Area
) -> Result<(), ProgramError>
[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, 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.