pub struct ParetoFrontier {
pub max_items: usize,
}Fields§
§max_items: usizeImplementations§
Source§impl ParetoFrontier
impl ParetoFrontier
pub fn select(&self, candidates: &[BranchCandidate]) -> Vec<BranchCandidate>
Trait Implementations§
Source§impl Clone for ParetoFrontier
impl Clone for ParetoFrontier
Source§fn clone(&self) -> ParetoFrontier
fn clone(&self) -> ParetoFrontier
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParetoFrontier
impl Debug for ParetoFrontier
Source§impl Default for ParetoFrontier
impl Default for ParetoFrontier
Source§impl<'de> Deserialize<'de> for ParetoFrontier
impl<'de> Deserialize<'de> for ParetoFrontier
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ParetoFrontier
Source§impl PartialEq for ParetoFrontier
impl PartialEq for ParetoFrontier
Source§impl Serialize for ParetoFrontier
impl Serialize for ParetoFrontier
impl StructuralPartialEq for ParetoFrontier
Auto Trait Implementations§
impl Freeze for ParetoFrontier
impl RefUnwindSafe for ParetoFrontier
impl Send for ParetoFrontier
impl Sync for ParetoFrontier
impl Unpin for ParetoFrontier
impl UnsafeUnpin for ParetoFrontier
impl UnwindSafe for ParetoFrontier
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