[][src]Trait syntax::util::map_in_place::MapInPlace

pub trait MapInPlace<T>: Sized {
    fn flat_map_in_place<F, I>(&mut self, f: F)
    where
        F: FnMut(T) -> I,
        I: IntoIterator<Item = T>
; fn map_in_place<F>(&mut self, f: F)
    where
        F: FnMut(T) -> T
, { ... } }
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Required methods

fn flat_map_in_place<F, I>(&mut self, f: F) where
    F: FnMut(T) -> I,
    I: IntoIterator<Item = T>, 

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Loading content...

Provided methods

fn map_in_place<F>(&mut self, f: F) where
    F: FnMut(T) -> T, 

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Loading content...

Implementations on Foreign Types

impl<T> MapInPlace<T> for Vec<T>[src]

impl<T, A: Array<Item = T>> MapInPlace<T> for SmallVec<A>[src]

Loading content...

Implementors

Loading content...