pub enum RandomTreeMethod {
Prufer,
Lerw,
}Expand description
Random tree sampling algorithm (igraph_random_tree_t).
Variants§
Trait Implementations§
Source§impl Clone for RandomTreeMethod
impl Clone for RandomTreeMethod
Source§fn clone(&self) -> RandomTreeMethod
fn clone(&self) -> RandomTreeMethod
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 RandomTreeMethod
Source§impl Debug for RandomTreeMethod
impl Debug for RandomTreeMethod
impl Eq for RandomTreeMethod
Source§impl From<RandomTreeMethod> for igraph_random_tree_t
impl From<RandomTreeMethod> for igraph_random_tree_t
Source§fn from(value: RandomTreeMethod) -> igraph_random_tree_t
fn from(value: RandomTreeMethod) -> igraph_random_tree_t
Converts to this type from the input type.
Source§impl Hash for RandomTreeMethod
impl Hash for RandomTreeMethod
Source§impl PartialEq for RandomTreeMethod
impl PartialEq for RandomTreeMethod
Source§fn eq(&self, other: &RandomTreeMethod) -> bool
fn eq(&self, other: &RandomTreeMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RandomTreeMethod
Auto Trait Implementations§
impl Freeze for RandomTreeMethod
impl RefUnwindSafe for RandomTreeMethod
impl Send for RandomTreeMethod
impl Sync for RandomTreeMethod
impl Unpin for RandomTreeMethod
impl UnsafeUnpin for RandomTreeMethod
impl UnwindSafe for RandomTreeMethod
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