[][src]Struct fbas_analyzer::NodeIdSetResult

pub struct NodeIdSetResult { /* fields omitted */ }

Wraps a node ID set.

Implementations

impl NodeIdSetResult[src]

pub fn unwrap(self) -> NodeIdSet[src]

pub fn into_vec(self) -> Vec<NodeId>[src]

pub fn involved_nodes(&self) -> NodeIdSet[src]

pub fn len(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

pub fn without_nodes(&self, nodes: &[NodeId]) -> Self[src]

pub fn without_nodes_pretty<'a>(
    &self,
    nodes: &[&'a str],
    fbas: &Fbas,
    groupings: Option<&Groupings<'_>>
) -> Self
[src]

pub fn merged_by_group(&self, groupings: &Groupings<'_>) -> Self[src]

Merge contained nodes so that all nodes of the same grouping get the same ID.

impl NodeIdSetResult[src]

pub fn into_pretty_vec(
    self,
    fbas: &Fbas,
    groupings: Option<&Groupings<'_>>
) -> Vec<String>
[src]

Transforms result into a vector of public keys and/or grouping names. The passed FBAS should be the same as the one used for analysis, otherwise the IDs might not match. Preserves the original node ID-based ordering.

Trait Implementations

impl AnalysisResult for NodeIdSetResult[src]

impl Clone for NodeIdSetResult[src]

impl Debug for NodeIdSetResult[src]

impl Default for NodeIdSetResult[src]

impl Eq for NodeIdSetResult[src]

impl Hash for NodeIdSetResult[src]

impl PartialEq<NodeIdSetResult> for NodeIdSetResult[src]

impl Serialize for NodeIdSetResult[src]

impl StructuralEq for NodeIdSetResult[src]

impl StructuralPartialEq for NodeIdSetResult[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,