[][src]Struct pathfinder::data::CustomConverter

pub struct CustomConverter<'a> {
    pub split: char,
    pub node_range: u32,
    pub radius: u32,
    pub lambda_tag: &'a dyn Fn(&str) -> bool,
    pub link_groups: bool,
}

Holds configurations for converting a content String to a path network.

Fields

split: charnode_range: u32radius: u32lambda_tag: &'a dyn Fn(&str) -> boollink_groups: bool

Methods

impl<'a> CustomConverter<'a>[src]

pub fn new(
    split: char,
    node_range: u32,
    radius: u32,
    lambda_tag: &'a dyn Fn(&str) -> bool
) -> CustomConverter
[src]

Constructs a new CustomConverter configuration for data interpretation for a path network.

Auto Trait Implementations

impl<'a> !Sync for CustomConverter<'a>

impl<'a> Unpin for CustomConverter<'a>

impl<'a> !Send for CustomConverter<'a>

impl<'a> !UnwindSafe for CustomConverter<'a>

impl<'a> !RefUnwindSafe for CustomConverter<'a>

Blanket Implementations

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

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

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> SetParameter for T[src]

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 
[src]

Sets value as a parameter of self.