#[repr(C)]
pub struct _alpm_conflict_t { pub package1_hash: c_ulong, pub package2_hash: c_ulong, pub package1: *mut c_char, pub package2: *mut c_char, pub reason: *mut alpm_depend_t, }
Expand description

A conflict that has occurred between two packages.

Fields

package1_hash: c_ulong

Hash of the first package name (used internally to speed up conflict checks)

package2_hash: c_ulong

Hash of the second package name (used internally to speed up conflict checks)

package1: *mut c_char

Name of the first package

package2: *mut c_char

Name of the second package

reason: *mut alpm_depend_t

The conflict

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.