Enum dui::callback::CallbackReturn [] [src]

pub enum CallbackReturn {
    Default,
    Close,
    Ignore,
    Continue,
    Char(char),
}

Return this from a callback to tell the framework a non-default action to be performed.

Not all callbacks accepts Close, Ignore or Continue, check their respective docs.

Variants

The default CallbackReturn, does nothing when returned.

If this is returned from a callback, then when the callback returns the dialog containing the element on which the callback was invoked will be closed.

Callback specific, check the callback documentation to see if it accepts this return value and it's effect.

Callback specific, check the callback documentation to see if it accepts this return value and it's effect.

Callback specific, check the callback documentation to see if it accepts this return value and it's effect.

Trait Implementations

impl Copy for CallbackReturn
[src]

impl Clone for CallbackReturn
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for CallbackReturn
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for CallbackReturn
[src]

impl From<()> for CallbackReturn
[src]

[src]

Performs the conversion.

Auto Trait Implementations