#[repr(C)]pub struct sljit_compiler {Show 31 fields
pub error: sljit_s32,
pub options: sljit_s32,
pub labels: *mut sljit_label,
pub jumps: *mut sljit_jump,
pub consts: *mut sljit_const,
pub last_label: *mut sljit_label,
pub last_jump: *mut sljit_jump,
pub last_const: *mut sljit_const,
pub allocator_data: *mut c_void,
pub user_data: *mut c_void,
pub buf: *mut sljit_memory_fragment,
pub abuf: *mut sljit_memory_fragment,
pub label_count: sljit_uw,
pub scratches: sljit_s32,
pub saveds: sljit_s32,
pub fscratches: sljit_s32,
pub fsaveds: sljit_s32,
pub vscratches: sljit_s32,
pub vsaveds: sljit_s32,
pub local_size: sljit_s32,
pub size: sljit_uw,
pub executable_offset: sljit_sw,
pub executable_size: sljit_uw,
pub mode32: sljit_s32,
pub verbose: *mut FILE,
pub last_flags: sljit_s32,
pub last_return: sljit_s32,
pub logical_local_size: sljit_s32,
pub real_fscratches: sljit_s32,
pub real_fsaveds: sljit_s32,
pub skip_checks: sljit_s32,
}Fields§
§error: sljit_s32§options: sljit_s32§labels: *mut sljit_label§jumps: *mut sljit_jump§consts: *mut sljit_const§last_label: *mut sljit_label§last_jump: *mut sljit_jump§last_const: *mut sljit_const§allocator_data: *mut c_void§user_data: *mut c_void§buf: *mut sljit_memory_fragment§abuf: *mut sljit_memory_fragment§label_count: sljit_uw§scratches: sljit_s32§saveds: sljit_s32§fscratches: sljit_s32§fsaveds: sljit_s32§vscratches: sljit_s32§vsaveds: sljit_s32§local_size: sljit_s32§size: sljit_uw§executable_offset: sljit_sw§executable_size: sljit_uw§mode32: sljit_s32§verbose: *mut FILE§last_flags: sljit_s32§last_return: sljit_s32§logical_local_size: sljit_s32§real_fscratches: sljit_s32§real_fsaveds: sljit_s32§skip_checks: sljit_s32Implementations§
Source§impl sljit_compiler
impl sljit_compiler
Sourcepub fn builder() -> sljit_compilerBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
pub fn builder() -> sljit_compilerBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
Create a builder for building sljit_compiler.
On the builder, call .error(...), .options(...), .labels(...), .jumps(...), .consts(...), .last_label(...), .last_jump(...), .last_const(...), .allocator_data(...), .user_data(...), .buf(...), .abuf(...), .label_count(...), .scratches(...), .saveds(...), .fscratches(...), .fsaveds(...), .vscratches(...), .vsaveds(...), .local_size(...), .size(...), .executable_offset(...), .executable_size(...), .mode32(...), .verbose(...), .last_flags(...), .last_return(...), .logical_local_size(...), .real_fscratches(...), .real_fsaveds(...), .skip_checks(...) to set the values of the fields.
Finally, call .build() to create the instance of sljit_compiler.
Trait Implementations§
Source§impl Clone for sljit_compiler
impl Clone for sljit_compiler
Source§fn clone(&self) -> sljit_compiler
fn clone(&self) -> sljit_compiler
Returns a duplicate 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 ConstDefault for sljit_compiler
impl ConstDefault for sljit_compiler
Source§impl Debug for sljit_compiler
impl Debug for sljit_compiler
Source§impl Hash for sljit_compiler
impl Hash for sljit_compiler
impl Copy for sljit_compiler
Auto Trait Implementations§
impl Freeze for sljit_compiler
impl RefUnwindSafe for sljit_compiler
impl !Send for sljit_compiler
impl !Sync for sljit_compiler
impl Unpin for sljit_compiler
impl UnwindSafe for sljit_compiler
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