Type Alias GThread

Source
pub type GThread = _GThread;

Aliased Type§

#[repr(C)]
pub struct GThread { pub func: Option<unsafe extern "C" fn(*mut c_void) -> *mut c_void>, pub data: *mut c_void, pub joinable: i32, pub priority: u32, }

Fields§

§func: Option<unsafe extern "C" fn(*mut c_void) -> *mut c_void>§data: *mut c_void§joinable: i32§priority: u32

Trait Implementations

Source§

impl Clone for _GThread

Source§

fn clone(&self) -> _GThread

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 _GThread

Source§

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

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

impl PartialEq for _GThread

Source§

fn eq(&self, other: &_GThread) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for _GThread

Source§

impl Eq for _GThread

Source§

impl StructuralPartialEq for _GThread