Struct glib_sys::GStaticRWLock
source · #[repr(C)]pub struct GStaticRWLock {
pub mutex: GStaticMutex,
pub read_cond: *mut GCond,
pub write_cond: *mut GCond,
pub read_counter: c_uint,
pub have_writer: gboolean,
pub want_to_read: c_uint,
pub want_to_write: c_uint,
}
Fields§
§mutex: GStaticMutex
§read_cond: *mut GCond
§write_cond: *mut GCond
§read_counter: c_uint
§have_writer: gboolean
§want_to_read: c_uint
§want_to_write: c_uint
Trait Implementations§
source§impl Clone for GStaticRWLock
impl Clone for GStaticRWLock
source§fn clone(&self) -> GStaticRWLock
fn clone(&self) -> GStaticRWLock
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 GStaticRWLock
impl Debug for GStaticRWLock
impl Copy for GStaticRWLock
Auto Trait Implementations§
impl Freeze for GStaticRWLock
impl RefUnwindSafe for GStaticRWLock
impl !Send for GStaticRWLock
impl !Sync for GStaticRWLock
impl Unpin for GStaticRWLock
impl UnwindSafe for GStaticRWLock
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