Enum ddc_hi::Query [] [src]

pub enum Query {
    Any,
    Backend(Backend),
    Id(String),
    ManufacturerId(String),
    ModelName(String),
    SerialNumber(String),
    Or(Vec<Query>),
    And(Vec<Query>),
}

A query to filter out matching displays.

Most comparisons must match the full string.

Variants

Matches any display

Matches a display on the given backend

Matches a display with the specified ID

Matches a display with the specified manufacturer

Matches a display with the specified model name

Matches a display with the specified serial number

At least one of the queries must match

All of the queries must match

Methods

impl Query
[src]

[src]

Queries whether the provided display info is a match.

Trait Implementations

Auto Trait Implementations

impl Send for Query

impl Sync for Query