[][src]Struct filter_city::Citys

pub struct Citys {
    pub citys: Vec<City>,
}

Concat all City in one struct

Fields

citys: Vec<City>

Implementations

impl Citys[src]

Constructor for City impl

pub fn new(path: &str) -> Citys[src]

Trait Implementations

impl Clone for Citys[src]

impl Debug for Citys[src]

impl Fd for Citys[src]

Impl of Fd for City

fn filter(&self, name: &str) -> Vec<City>[src]

Filter city monothread

fn filter_multithread(&self, name: &str) -> Vec<City>[src]

Filter city multithread

Auto Trait Implementations

impl RefUnwindSafe for Citys

impl Send for Citys

impl Sync for Citys

impl Unpin for Citys

impl UnwindSafe for Citys

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<T> From<T> for T[src]

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

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.