pub struct Counts {Show 14 fields
pub num_constants: usize,
pub num_parameters: usize,
pub num_discrete: usize,
pub num_continuous: usize,
pub num_inputs: usize,
pub num_outputs: usize,
pub num_local: usize,
pub num_independent: usize,
pub num_calculated_parameters: usize,
pub num_real_vars: usize,
pub num_integer_vars: usize,
pub num_enum_vars: usize,
pub num_bool_vars: usize,
pub num_string_vars: usize,
}Expand description
Collects counts of variables in the model
Fields§
§num_constants: usize§num_parameters: usize§num_discrete: usize§num_continuous: usize§num_inputs: usize§num_outputs: usize§num_local: usize§num_independent: usize§num_calculated_parameters: usize§num_real_vars: usize§num_integer_vars: usize§num_enum_vars: usize§num_bool_vars: usize§num_string_vars: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for Counts
impl RefUnwindSafe for Counts
impl Send for Counts
impl Sync for Counts
impl Unpin for Counts
impl UnwindSafe for Counts
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> 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