Enum libalpm::Reason [] [src]

pub enum Reason {
    Explicit,
    Depend,
}

Why a package was installed, either because it was explicitally requested, or required as a dependency.

Variants

Package was explicitally installed by the user.

Package was installed because it was a dependency of another package.

Trait Implementations

impl Debug for Reason
[src]

Formats the value using the given formatter.

impl Copy for Reason
[src]

impl Clone for Reason
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Reason
[src]

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

This method tests for !=.

impl Eq for Reason
[src]

impl Into<u32> for Reason
[src]

Performs the conversion.

impl From<u32> for Reason
[src]

Performs the conversion.