FindUncommented in rustfmt_nightly::comment - Rust
Description: API documentation for the Rust `FindUncommented` trait in crate `rustfmt_nightly`.

Skip to main content

## FindUncommented

# Trait FindUncommented

Source

    pub(crate) trait FindUncommented {
        // Required methods
        fn find_uncommented(&self, pat: &str) -> Option<usize>;
        fn find_last_uncommented(&self, pat: &str) -> Option<usize>;
    }

## Required Methods§

Source

#### fn find_uncommented(&self, pat: &str) -> Option<usize>

Source

#### fn find_last_uncommented(&self, pat: &str) -> Option<usize>

## Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

## Implementations on Foreign Types§

Source§

### impl FindUncommented for str

Source§

#### fn find_uncommented(&self, pat: &str) -> Option<usize>

Source§

#### fn find_last_uncommented(&self, pat: &str) -> Option<usize>

## Implementors§