#[repr(C)]pub struct Arglist {Show 19 fields
pub n: c_int,
pub nr: c_int,
pub at: *mut c_int,
pub ra: *mut f64,
pub sa: *mut *const c_char,
pub derivs: *mut f64,
pub hes: *mut f64,
pub dig: *mut c_char,
pub funcinfo: *mut c_void,
pub ae: *mut AmplExports,
pub f: *mut c_void,
pub tva: *mut c_void,
pub errmsg: *mut c_char,
pub tmi: *mut c_void,
pub private: *mut c_char,
pub nin: c_int,
pub nout: c_int,
pub nsin: c_int,
pub nsout: c_int,
}Expand description
The arglist struct from AMPL’s funcadd.h. Layout must match exactly.
Fields§
§n: c_int§nr: c_int§at: *mut c_int§ra: *mut f64§sa: *mut *const c_char§derivs: *mut f64§hes: *mut f64§dig: *mut c_char§funcinfo: *mut c_void§ae: *mut AmplExports§f: *mut c_void§tva: *mut c_void§errmsg: *mut c_char§tmi: *mut c_void§private: *mut c_char§nin: c_int§nout: c_int§nsin: c_int§nsout: c_intAuto Trait Implementations§
impl Freeze for Arglist
impl RefUnwindSafe for Arglist
impl !Send for Arglist
impl !Sync for Arglist
impl Unpin for Arglist
impl UnsafeUnpin for Arglist
impl UnwindSafe for Arglist
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
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