pub struct GroundedIndexMap {
pub n: usize,
pub r: usize,
}Expand description
Maps indices between the full [0, n) space and the grounded [0, n−1)
space (row/column r removed). Problem specific solvers use it to place a
grounded solve back into full bus order.
Fields§
§n: usize§r: usizeImplementations§
Trait Implementations§
Source§impl Clone for GroundedIndexMap
impl Clone for GroundedIndexMap
Source§fn clone(&self) -> GroundedIndexMap
fn clone(&self) -> GroundedIndexMap
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 moreimpl Copy for GroundedIndexMap
Auto Trait Implementations§
impl Freeze for GroundedIndexMap
impl RefUnwindSafe for GroundedIndexMap
impl Send for GroundedIndexMap
impl Sync for GroundedIndexMap
impl Unpin for GroundedIndexMap
impl UnsafeUnpin for GroundedIndexMap
impl UnwindSafe for GroundedIndexMap
Blanket Implementations§
impl<T> Allocation for T
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