pub struct DynScoreSet64Builder<Ctx: ?Sized> { /* private fields */ }Expand description
Builds a DynScoreSet64.
Implementations§
Source§impl<Ctx: ?Sized> DynScoreSet64Builder<Ctx>
impl<Ctx: ?Sized> DynScoreSet64Builder<Ctx>
Sourcepub fn push<E>(&mut self, eval: E)where
E: EvalF64<Ctx> + 'static,
pub fn push<E>(&mut self, eval: E)where
E: EvalF64<Ctx> + 'static,
Appends one evaluator to the score set being built.
Sourcepub fn append<E>(self, eval: E) -> Selfwhere
E: EvalF64<Ctx> + 'static,
pub fn append<E>(self, eval: E) -> Selfwhere
E: EvalF64<Ctx> + 'static,
Appends one evaluator and returns the builder.
Sourcepub fn build(self) -> DynScoreSet64<Ctx>
pub fn build(self) -> DynScoreSet64<Ctx>
Finalizes the builder into a DynScoreSet64.
Trait Implementations§
Auto Trait Implementations§
impl<Ctx> !RefUnwindSafe for DynScoreSet64Builder<Ctx>
impl<Ctx> !UnwindSafe for DynScoreSet64Builder<Ctx>
impl<Ctx> Freeze for DynScoreSet64Builder<Ctx>where
Ctx: ?Sized,
impl<Ctx> Send for DynScoreSet64Builder<Ctx>where
Ctx: ?Sized,
impl<Ctx> Sync for DynScoreSet64Builder<Ctx>where
Ctx: ?Sized,
impl<Ctx> Unpin for DynScoreSet64Builder<Ctx>where
Ctx: ?Sized,
impl<Ctx> UnsafeUnpin for DynScoreSet64Builder<Ctx>where
Ctx: ?Sized,
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