Enum mon_artist::format::Neighbor [] [src]

pub enum Neighbor<T> {
    Blank,
    Must(T),
    May(T),
}

Variants

no neighbor allowed (i.e. pattern for some end of the path).

must match some non-blank neighbor

may match some non-blank neighbor, but also matches an end of the path.

Trait Implementations

impl<T: Clone> Clone for Neighbor<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for Neighbor<T>
[src]

Formats the value using the given formatter.