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