Struct alpm::Pkg[][src]

pub struct Pkg<'a> { /* fields omitted */ }

Implementations

impl<'a> Pkg<'a>[src]

pub fn name(&self) -> &'a str[src]

pub fn check_md5sum(&self) -> Result<()>[src]

pub fn should_ignore(&self) -> bool[src]

pub fn filename(&self) -> &'a str[src]

pub fn base(&self) -> Option<&'a str>[src]

pub fn version(&self) -> &'a Ver[src]

pub fn origin(&self) -> PackageFrom[src]

pub fn desc(&self) -> Option<&'a str>[src]

pub fn url(&self) -> Option<&'a str>[src]

pub fn build_date(&self) -> i64[src]

pub fn install_date(&self) -> Option<i64>[src]

pub fn packager(&self) -> Option<&'a str>[src]

pub fn md5sum(&self) -> Option<&'a str>[src]

pub fn sha256sum(&self) -> Option<&'a str>[src]

pub fn arch(&self) -> Option<&'a str>[src]

pub fn size(&self) -> i64[src]

pub fn isize(&self) -> i64[src]

pub fn reason(&self) -> PackageReason[src]

pub fn validation(&self) -> PackageValidation[src]

pub fn licenses(&self) -> AlpmList<'a, &'a str>[src]

pub fn groups(&self) -> AlpmList<'a, &'a str>[src]

pub fn depends(&self) -> AlpmList<'a, Dep<'a>>[src]

pub fn optdepends(&self) -> AlpmList<'a, Dep<'a>>[src]

pub fn checkdepends(&self) -> AlpmList<'a, Dep<'a>>[src]

pub fn makedepends(&self) -> AlpmList<'a, Dep<'a>>[src]

pub fn conflicts(&self) -> AlpmList<'a, Dep<'a>>[src]

pub fn provides(&self) -> AlpmList<'a, Dep<'a>>[src]

pub fn replaces(&self) -> AlpmList<'a, Dep<'a>>[src]

pub fn files(&self) -> FileList[src]

pub fn backup(&self) -> AlpmList<'a, Backup>[src]

pub fn db(&self) -> Option<Db<'a>>[src]

pub fn changelog(&self) -> Result<ChangeLog<'_>>[src]

pub fn required_by(&self) -> AlpmListMut<'a, String>[src]

pub fn optional_for(&self) -> AlpmListMut<'a, String>[src]

pub fn base64_sig(&self) -> Option<&'a str>[src]

pub fn has_scriptlet(&self) -> bool[src]

pub fn sig(&self) -> Result<Signature>[src]

Trait Implementations

impl<'a> AsAlpmListItemPtr<'a> for Pkg<'a>[src]

type Output = Pkg<'a>

fn as_ptr(&self) -> *mut c_void[src]

const FREE: Option<unsafe extern "C" fn(_ptr: *mut c_void)>[src]

impl<'a> AsPkg for Pkg<'a>[src]

fn as_pkg<'b>(&'b self) -> Pkg<'b>[src]

impl<'a> Clone for Pkg<'a>[src]

fn clone(&self) -> Pkg<'a>[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for Pkg<'a>[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<'a> IntoRawAlpmList<'a, Pkg<'a>> for AlpmList<'a, LoadedPackage<'a>>[src]

type Drop = False

unsafe fn into_raw_alpm_list(self) -> RawAlpmList<'a, Pkg<'a>, Self::Drop>[src]

impl<'a> IntoRawAlpmList<'a, Pkg<'a>> for AlpmList<'a, Package<'a>>[src]

type Drop = False

unsafe fn into_raw_alpm_list(self) -> RawAlpmList<'a, Pkg<'a>, Self::Drop>[src]

impl<'a> Copy for Pkg<'a>[src]

impl<'a> Push<'a> for Pkg<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Pkg<'a>

impl<'a> !Send for Pkg<'a>

impl<'a> !Sync for Pkg<'a>

impl<'a> Unpin for Pkg<'a>

impl<'a> !UnwindSafe for Pkg<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

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

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.