Enum includer_codegen::utils::Filter[][src]

pub enum Filter {
    Include(FilterRule),
    Exclude(FilterRule),
}

A filter to determine if a file or path should be added to the Pipeline.

Variants

Methods

impl Filter
[src]

Create a filter that includes a file extension.

Can panic, see FilterRule::extension.

Create a filter that excludes a file extension.

Can panic, see FilterRule::extension.

Create a filter that includes a regex.

Can panic, see FilterRule::regex.

Create a filter that excludes a regex.

Can panic, see FilterRule::regex.

Auto Trait Implementations

impl Send for Filter

impl Sync for Filter