pub enum SubgraphImplementation {
Auto,
CopyAndDelete,
CreateFromScratch,
}Expand description
Implementation strategy for induced subgraphs (igraph_subgraph_implementation_t).
Variants§
Auto
Let igraph decide.
CopyAndDelete
Copy the graph and delete vertices.
CreateFromScratch
Build the subgraph from scratch.
Trait Implementations§
Source§impl Clone for SubgraphImplementation
impl Clone for SubgraphImplementation
Source§fn clone(&self) -> SubgraphImplementation
fn clone(&self) -> SubgraphImplementation
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 SubgraphImplementation
Source§impl Debug for SubgraphImplementation
impl Debug for SubgraphImplementation
impl Eq for SubgraphImplementation
Source§impl From<SubgraphImplementation> for igraph_subgraph_implementation_t
impl From<SubgraphImplementation> for igraph_subgraph_implementation_t
Source§fn from(value: SubgraphImplementation) -> igraph_subgraph_implementation_t
fn from(value: SubgraphImplementation) -> igraph_subgraph_implementation_t
Converts to this type from the input type.
Source§impl Hash for SubgraphImplementation
impl Hash for SubgraphImplementation
Source§impl PartialEq for SubgraphImplementation
impl PartialEq for SubgraphImplementation
Source§fn eq(&self, other: &SubgraphImplementation) -> bool
fn eq(&self, other: &SubgraphImplementation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SubgraphImplementation
Auto Trait Implementations§
impl Freeze for SubgraphImplementation
impl RefUnwindSafe for SubgraphImplementation
impl Send for SubgraphImplementation
impl Sync for SubgraphImplementation
impl Unpin for SubgraphImplementation
impl UnsafeUnpin for SubgraphImplementation
impl UnwindSafe for SubgraphImplementation
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