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

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

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

Required Associated Types§

Provided Associated Constants§

source

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

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a> AsAlpmListItemPtr<'a> for &str

§

type Output = String

source§

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

source§

fn as_ptr(&self) -> *mut c_void

source§

impl<'a> AsAlpmListItemPtr<'a> for String

§

type Output = String

source§

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

source§

fn as_ptr(&self) -> *mut c_void

source§

impl<'a, T: AsAlpmListItemPtr<'a>> AsAlpmListItemPtr<'a> for &T

Implementors§

source§

impl<'a> AsAlpmListItemPtr<'a> for Db<'a>

§

type Output = Db<'a>

source§

impl<'a> AsAlpmListItemPtr<'a> for Dep<'a>

§

type Output = Dep<'a>

source§

impl<'a> AsAlpmListItemPtr<'a> for Depend

§

type Output = Dep<'a>

source§

impl<'a> AsAlpmListItemPtr<'a> for LoadedPackage<'a>

§

type Output = Pkg<'a>

source§

impl<'a> AsAlpmListItemPtr<'a> for Package<'a>

§

type Output = Package<'a>

source§

impl<'a> AsAlpmListItemPtr<'a> for Pkg<'a>

§

type Output = Pkg<'a>