s_Pool

Struct s_Pool 

Source
#[repr(C)]
pub struct s_Pool {
Show 33 fields pub appdata: *mut c_void, pub ss: s_Stringpool, pub rels: *mut Reldep, pub nrels: c_int, pub repos: *mut *mut s_Repo, pub nrepos: c_int, pub urepos: c_int, pub installed: *mut s_Repo, pub solvables: *mut Solvable, pub nsolvables: c_int, pub languages: *mut *const c_char, pub nlanguages: c_int, pub disttype: c_int, pub id2arch: *mut Id, pub id2color: *mut c_uchar, pub lastarch: Id, pub vendormap: Queue, pub vendorclasses: *mut *const c_char, pub whatprovides: *mut Offset, pub whatprovides_rel: *mut Offset, pub whatprovidesdata: *mut Id, pub whatprovidesdataoff: Offset, pub whatprovidesdataleft: c_int, pub considered: *mut Map, pub nscallback: Option<unsafe extern "C" fn(arg1: *mut s_Pool, data: *mut c_void, name: Id, evr: Id) -> Id>, pub nscallbackdata: *mut c_void, pub debugmask: c_int, pub debugcallback: Option<unsafe extern "C" fn(arg1: *mut s_Pool, data: *mut c_void, type_: c_int, str_: *const c_char)>, pub debugcallbackdata: *mut c_void, pub loadcallback: Option<unsafe extern "C" fn(arg1: *mut s_Pool, arg2: *mut s_Repodata, arg3: *mut c_void) -> c_int>, pub loadcallbackdata: *mut c_void, pub pos: Datapos, pub pooljobs: Queue,
}

Fields§

§appdata: *mut c_void§ss: s_Stringpool§rels: *mut Reldep§nrels: c_int§repos: *mut *mut s_Repo§nrepos: c_int§urepos: c_int§installed: *mut s_Repo§solvables: *mut Solvable§nsolvables: c_int§languages: *mut *const c_char§nlanguages: c_int§disttype: c_int§id2arch: *mut Id§id2color: *mut c_uchar§lastarch: Id§vendormap: Queue§vendorclasses: *mut *const c_char§whatprovides: *mut Offset§whatprovides_rel: *mut Offset§whatprovidesdata: *mut Id§whatprovidesdataoff: Offset§whatprovidesdataleft: c_int§considered: *mut Map§nscallback: Option<unsafe extern "C" fn(arg1: *mut s_Pool, data: *mut c_void, name: Id, evr: Id) -> Id>§nscallbackdata: *mut c_void§debugmask: c_int§debugcallback: Option<unsafe extern "C" fn(arg1: *mut s_Pool, data: *mut c_void, type_: c_int, str_: *const c_char)>§debugcallbackdata: *mut c_void§loadcallback: Option<unsafe extern "C" fn(arg1: *mut s_Pool, arg2: *mut s_Repodata, arg3: *mut c_void) -> c_int>§loadcallbackdata: *mut c_void§pos: Datapos§pooljobs: Queue

Trait Implementations§

Source§

impl Clone for s_Pool

Source§

fn clone(&self) -> s_Pool

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for s_Pool

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Copy for s_Pool

Auto Trait Implementations§

§

impl Freeze for s_Pool

§

impl RefUnwindSafe for s_Pool

§

impl !Send for s_Pool

§

impl !Sync for s_Pool

§

impl Unpin for s_Pool

§

impl UnwindSafe for s_Pool

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.