#[repr(C)]pub struct sc_context_param_t {
pub ver: c_uint,
pub app_name: *const c_char,
pub flags: c_ulong,
pub thread_ctx: *mut sc_thread_context_t,
}
Expand description
@struct sc_context_t initialization parameters Structure to supply additional parameters, for example mutex information, to the sc_context_t creation.
Fields§
§ver: c_uint
version number of this structure (0 for this version)
app_name: *const c_char
name of the application (used for finding application dependent configuration data). If NULL the name “default” will be used.
flags: c_ulong
context flags
thread_ctx: *mut sc_thread_context_t
mutex functions to use (optional)
Trait Implementations§
Source§impl Clone for sc_context_param_t
impl Clone for sc_context_param_t
Source§fn clone(&self) -> sc_context_param_t
fn clone(&self) -> sc_context_param_t
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 sc_context_param_t
impl Debug for sc_context_param_t
impl Copy for sc_context_param_t
Auto Trait Implementations§
impl Freeze for sc_context_param_t
impl RefUnwindSafe for sc_context_param_t
impl !Send for sc_context_param_t
impl !Sync for sc_context_param_t
impl Unpin for sc_context_param_t
impl UnwindSafe for sc_context_param_t
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