#[repr(C)]pub struct TsnCompileResult {Show 16 fields
pub code_ptr: *mut u8,
pub code_len: u32,
pub data_ptr: *mut u8,
pub data_len: u32,
pub rdata_ptr: *mut u8,
pub rdata_len: u32,
pub symbols: *mut TsnSymbol,
pub symbol_count: u32,
pub relocations: *mut TsnRelocation,
pub reloc_count: u32,
pub error_msg: *mut c_char,
pub error_line: u32,
pub error_col: u32,
pub error_context: *mut c_char,
pub _context: *mut c_void,
pub addon_dlls: *mut c_char,
}Fields§
§code_ptr: *mut u8§code_len: u32§data_ptr: *mut u8§data_len: u32§rdata_ptr: *mut u8§rdata_len: u32§symbols: *mut TsnSymbol§symbol_count: u32§relocations: *mut TsnRelocation§reloc_count: u32§error_msg: *mut c_char§error_line: u32§error_col: u32§error_context: *mut c_char§_context: *mut c_void§addon_dlls: *mut c_charaddon DLL 名称列表(逗号分隔的 C 字符串)
Auto Trait Implementations§
impl !Send for TsnCompileResult
impl !Sync for TsnCompileResult
impl Freeze for TsnCompileResult
impl RefUnwindSafe for TsnCompileResult
impl Unpin for TsnCompileResult
impl UnsafeUnpin for TsnCompileResult
impl UnwindSafe for TsnCompileResult
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more