#[repr(C)]pub struct TypeWriteResult {
pub code: i32,
pub reason: String,
}Expand description
The outcome of a type-write call, returned by value from every type-write function except the two signature-surgery fns.
Fields§
§code: i32Raw facade code: an TYPE_*/TEDIT_* sentinel, a negative tinfo_code_t, or define_type’s parse-error count.
reason: StringCaptured IDA diagnostic, empty when the call has no error channel.
Trait Implementations§
Source§impl ExternType for TypeWriteResult
impl ExternType for TypeWriteResult
Auto Trait Implementations§
impl Freeze for TypeWriteResult
impl RefUnwindSafe for TypeWriteResult
impl Send for TypeWriteResult
impl Sync for TypeWriteResult
impl Unpin for TypeWriteResult
impl UnsafeUnpin for TypeWriteResult
impl UnwindSafe for TypeWriteResult
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