Enum filecheck::Value [] [src]

pub enum Value<'a> {
    Text(Cow<'a, str>),
    Regex(Cow<'a, str>),
}

A variable can contain either a regular expression or plain text.

Variants

Trait Implementations

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

Formats the value using the given formatter.

impl<'a> Clone for Value<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> PartialEq for Value<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> Eq for Value<'a>
[src]