pub struct SublevelSet {
pub function_name: String,
pub level: f64,
}Expand description
Sublevel set.
Fields§
§function_name: String§level: f64Implementations§
Source§impl SublevelSet
impl SublevelSet
pub fn new(f: &str, c: f64) -> Self
pub fn definition(&self) -> String
pub fn is_convex_if_f_quasiconvex(&self) -> bool
Trait Implementations§
Source§impl Clone for SublevelSet
impl Clone for SublevelSet
Source§fn clone(&self) -> SublevelSet
fn clone(&self) -> SublevelSet
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SublevelSet
impl RefUnwindSafe for SublevelSet
impl Send for SublevelSet
impl Sync for SublevelSet
impl Unpin for SublevelSet
impl UnsafeUnpin for SublevelSet
impl UnwindSafe for SublevelSet
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