[][src]Struct nvimpam_lib::skipresult::SkipResult

pub struct SkipResult<'a> {
    pub nextline: Option<ParsedLine<'a>>,
    pub skip_end: Option<usize>,
}

A struct returned by skip_to_next_keyword. A data structure returned by several skip methods on NoCommentIter

nextline will be None in those cases where the iterator returned None before such a line could be found, i.e. the file ended.

skip_end is the index of the last line we skipped. It will be None if we could not fully skip something before the file ended

Fields

Trait Implementations

impl<'a> Default for SkipResult<'a>
[src]

Returns the "default value" for a type. Read more

impl<'a> Display for SkipResult<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> Debug for SkipResult<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for SkipResult<'a>

impl<'a> Sync for SkipResult<'a>

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

Converts the given value to a String. Read more

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

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Immutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Mutably borrows from an owned value. Read more