pub struct BranchTournament {
pub min_score: u32,
}Fields§
§min_score: u32Implementations§
Source§impl BranchTournament
impl BranchTournament
pub fn select(&self, candidates: &[BranchCandidate]) -> Option<BranchCandidate>
Trait Implementations§
Source§impl Clone for BranchTournament
impl Clone for BranchTournament
Source§fn clone(&self) -> BranchTournament
fn clone(&self) -> BranchTournament
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 BranchTournament
impl Debug for BranchTournament
Source§impl<'de> Deserialize<'de> for BranchTournament
impl<'de> Deserialize<'de> for BranchTournament
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 BranchTournament
Source§impl PartialEq for BranchTournament
impl PartialEq for BranchTournament
Source§impl Serialize for BranchTournament
impl Serialize for BranchTournament
impl StructuralPartialEq for BranchTournament
Auto Trait Implementations§
impl Freeze for BranchTournament
impl RefUnwindSafe for BranchTournament
impl Send for BranchTournament
impl Sync for BranchTournament
impl Unpin for BranchTournament
impl UnsafeUnpin for BranchTournament
impl UnwindSafe for BranchTournament
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