pub struct ChessBuffers {
pub response: ResponseMap,
}Expand description
Reusable scratch for ChessDetector. Wraps an owned
ResponseMap; the ChESS response kernel currently allocates its
output, and this struct keeps the latest map alive so the trait’s
Response<'a> = &'a ResponseMap can borrow it across the two
stages.
Fields§
§response: ResponseMapDense ChESS response from the most recent
ChessDetector::compute_response call.
Trait Implementations§
Source§impl Debug for ChessBuffers
impl Debug for ChessBuffers
Source§impl Default for ChessBuffers
impl Default for ChessBuffers
Source§fn default() -> ChessBuffers
fn default() -> ChessBuffers
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ChessBuffers
impl RefUnwindSafe for ChessBuffers
impl Send for ChessBuffers
impl Sync for ChessBuffers
impl Unpin for ChessBuffers
impl UnsafeUnpin for ChessBuffers
impl UnwindSafe for ChessBuffers
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more