pub struct SolverCells<'a> { /* private fields */ }Expand description
Crate-private cells the dispatch traits operate against. Passed
to SolverDispatch::dispatch as a single bundle so each op
implementation only depends on what it actually uses.
The struct itself is publicly visible because SolverDispatch
is a public trait whose method takes a SolverCells<'_>, but
every field is pub(crate) since the SendDn / SendSp
newtypes leak FFI handles that have no stable external
representation. External code wires custom solver ops by
implementing SolverDispatch only when also living inside this
crate.
Auto Trait Implementations§
impl<'a> Freeze for SolverCells<'a>
impl<'a> !RefUnwindSafe for SolverCells<'a>
impl<'a> Send for SolverCells<'a>
impl<'a> Sync for SolverCells<'a>
impl<'a> Unpin for SolverCells<'a>
impl<'a> UnsafeUnpin for SolverCells<'a>
impl<'a> !UnwindSafe for SolverCells<'a>
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