Enum linefeed::complete::Suffix [] [src]

pub enum Suffix {
    Default,
    None,
    Some(char),
}

Specifies an optional suffix to override the default value

Variants

Use the default suffix

Use no suffix

Use the given suffix

Methods

impl Suffix
[src]

Returns whether the Suffix value is the Default variant.

Returns whether the Suffix value is the Some(_) variant.

Returns whether the Suffix value is the None variant.

Returns an Option<char>, using the given value in place of Default.

Trait Implementations

impl Copy for Suffix
[src]

impl Clone for Suffix
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Suffix
[src]

Formats the value using the given formatter.

impl Eq for Suffix
[src]

impl PartialEq for Suffix
[src]

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

This method tests for !=.

impl Default for Suffix
[src]

Returns the "default value" for a type. Read more