pub fn drain_filter<F>(&self, pred: F) -> DrainFilter<T, F>
        where F: FnMut(&Node<T>) -> bool {

        DrainFilter {
            state: DrainFilterState::Head(self),
            pred
        }
    }
/// An iterator that removes items from the list if they match a filter
An iterator that removes items from the list if they match a filter
An iterator that removes items from the list if they match a filter
pub fn drain_filter<F>(&self, pred: F) -> DrainFilter<T, F>
        where F: FnMut(&Node<T>) -> bool {
        DrainFilter {
            state: DrainFilterState::Head(self),
            pred
        }
    }
pub fn drain_filter < F > ( & self , pred : F ) -> DrainFilter < T , F > where F : FnMut ( & Node < T > ) -> bool { DrainFilter { state : DrainFilterState :: Head ( self ) , pred } }
An iterator that removes items from the list if they match a filter
An iterator that removes items from the list if they match a filter
&self
pred
F