Trait alpm::AsAlpmListItemPtr[][src]

pub unsafe trait AsAlpmListItemPtr<'a> {
    type Output;

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

    fn as_ptr(&self) -> *mut c_void;
}

Associated Types

Associated Constants

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

Required methods

Implementations on Foreign Types

impl<'a, T: AsAlpmListItemPtr<'a>> AsAlpmListItemPtr<'a> for &T[src]

type Output = T::Output

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

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

type Output = String

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

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

impl<'a> AsAlpmListItemPtr<'a> for &str[src]

type Output = String

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

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

Implementors

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

type Output = Db<'a>

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

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

type Output = Dep<'a>

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

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

type Output = Dep<'a>

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

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

type Output = Package<'a>

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

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

type Output = Pkg<'a>

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