pub struct DotProductWarnings {
pub had_negative: bool,
pub had_over_one: bool,
}Expand description
Outcome of dot_product_game_with_warnings.
Fields§
§had_negative: booltrue iff at least one pair (i, j) had v_i · v_j < 0. Those
pairs contribute no edge to the output graph.
had_over_one: booltrue iff at least one pair (i, j) had v_i · v_j > 1. Those
pairs contribute an edge unconditionally (no RNG draw).
Trait Implementations§
Source§impl Clone for DotProductWarnings
impl Clone for DotProductWarnings
Source§fn clone(&self) -> DotProductWarnings
fn clone(&self) -> DotProductWarnings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DotProductWarnings
impl Debug for DotProductWarnings
impl Copy for DotProductWarnings
Auto Trait Implementations§
impl Freeze for DotProductWarnings
impl RefUnwindSafe for DotProductWarnings
impl Send for DotProductWarnings
impl Sync for DotProductWarnings
impl Unpin for DotProductWarnings
impl UnsafeUnpin for DotProductWarnings
impl UnwindSafe for DotProductWarnings
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