pub struct RankOptions {
pub by: RankAlgorithm,
pub via: Option<String>,
pub directed: bool,
pub write_property: Option<String>,
}Expand description
Options for GraphForge::rank.
Fields§
§by: RankAlgorithmAlgorithm name (e.g. "pagerank").
via: Option<String>Optional relationship type filter.
directed: boolWhether to treat edges as directed.
write_property: Option<String>Optional property name to write scores back to nodes.
Trait Implementations§
Source§impl Clone for RankOptions
impl Clone for RankOptions
Source§fn clone(&self) -> RankOptions
fn clone(&self) -> RankOptions
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 moreSource§impl Debug for RankOptions
impl Debug for RankOptions
Auto Trait Implementations§
impl Freeze for RankOptions
impl RefUnwindSafe for RankOptions
impl Send for RankOptions
impl Sync for RankOptions
impl Unpin for RankOptions
impl UnsafeUnpin for RankOptions
impl UnwindSafe for RankOptions
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