#[repr(C)]pub struct sc_context {Show 16 fields
pub conf: *mut scconf_context,
pub conf_blocks: [*mut scconf_block; 3],
pub app_name: *mut c_char,
pub debug: c_int,
pub flags: c_ulong,
pub debug_file: *mut FILE,
pub debug_filename: *mut c_char,
pub preferred_language: *mut c_char,
pub readers: list_t,
pub reader_driver: *mut sc_reader_driver,
pub reader_drv_data: *mut c_void,
pub card_drivers: [*mut sc_card_driver; 48],
pub forced_driver: *mut sc_card_driver,
pub thread_ctx: *mut sc_thread_context_t,
pub mutex: *mut c_void,
pub magic: c_uint,
}Fields§
§conf: *mut scconf_context§conf_blocks: [*mut scconf_block; 3]§app_name: *mut c_char§debug: c_int§flags: c_ulong§debug_file: *mut FILE§debug_filename: *mut c_char§preferred_language: *mut c_char§readers: list_t§reader_driver: *mut sc_reader_driver§reader_drv_data: *mut c_void§card_drivers: [*mut sc_card_driver; 48]§forced_driver: *mut sc_card_driver§thread_ctx: *mut sc_thread_context_t§mutex: *mut c_void§magic: c_uintTrait Implementations§
Source§impl Clone for sc_context
impl Clone for sc_context
Source§fn clone(&self) -> sc_context
fn clone(&self) -> sc_context
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 moreimpl Copy for sc_context
Auto Trait Implementations§
impl Freeze for sc_context
impl RefUnwindSafe for sc_context
impl !Send for sc_context
impl !Sync for sc_context
impl Unpin for sc_context
impl UnwindSafe for sc_context
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