pub enum AddWeights {
No,
Yes,
IfPresent,
}Expand description
Whether to add weights when converting from matrices (igraph_add_weights_t).
Variants§
Trait Implementations§
Source§impl Clone for AddWeights
impl Clone for AddWeights
Source§fn clone(&self) -> AddWeights
fn clone(&self) -> AddWeights
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 AddWeights
Source§impl Debug for AddWeights
impl Debug for AddWeights
impl Eq for AddWeights
Source§impl From<AddWeights> for igraph_add_weights_t
impl From<AddWeights> for igraph_add_weights_t
Source§fn from(value: AddWeights) -> igraph_add_weights_t
fn from(value: AddWeights) -> igraph_add_weights_t
Converts to this type from the input type.
Source§impl Hash for AddWeights
impl Hash for AddWeights
Source§impl PartialEq for AddWeights
impl PartialEq for AddWeights
Source§fn eq(&self, other: &AddWeights) -> bool
fn eq(&self, other: &AddWeights) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AddWeights
Auto Trait Implementations§
impl Freeze for AddWeights
impl RefUnwindSafe for AddWeights
impl Send for AddWeights
impl Sync for AddWeights
impl Unpin for AddWeights
impl UnsafeUnpin for AddWeights
impl UnwindSafe for AddWeights
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