Struct libsql_ffi::libsql_pghdr
source · #[repr(C)]pub struct libsql_pghdr {
pub pPage: *mut sqlite3_pcache_page,
pub pData: *mut c_void,
pub pExtra: *mut c_void,
pub pCache: *mut PCache,
pub pDirty: *mut PgHdr,
pub pPager: *mut Pager,
pub pgno: c_uint,
pub pageHash: c_uint,
pub flags: c_ushort,
pub nRef: c_ulonglong,
pub pDirtyNext: *mut PgHdr,
pub pDirtyPrev: *mut PgHdr,
}
Fields§
§pPage: *mut sqlite3_pcache_page
§pData: *mut c_void
§pExtra: *mut c_void
§pCache: *mut PCache
§pDirty: *mut PgHdr
§pPager: *mut Pager
§pgno: c_uint
§pageHash: c_uint
§flags: c_ushort
§nRef: c_ulonglong
Elements above, except pCache, are public. All that follow are private to pcache.c and should not be accessed by other modules. pCache is grouped with the public elements for efficiency.
pDirtyNext: *mut PgHdr
§pDirtyPrev: *mut PgHdr
Trait Implementations§
source§impl Clone for libsql_pghdr
impl Clone for libsql_pghdr
source§fn clone(&self) -> libsql_pghdr
fn clone(&self) -> libsql_pghdr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for libsql_pghdr
impl Debug for libsql_pghdr
impl Copy for libsql_pghdr
Auto Trait Implementations§
impl RefUnwindSafe for libsql_pghdr
impl !Send for libsql_pghdr
impl !Sync for libsql_pghdr
impl Unpin for libsql_pghdr
impl UnwindSafe for libsql_pghdr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more