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