pub trait CargoPathExt {
    // Required methods
    fn rm_rf(&self);
    fn mkdir_p(&self);
    fn move_in_time<F>(&self, travel_amount: F)
       where F: Fn(i64, u32) -> (i64, u32);

    // Provided methods
    fn move_into_the_past(&self) { ... }
    fn move_into_the_future(&self) { ... }
}

Required Methods§

source

fn rm_rf(&self)

source

fn mkdir_p(&self)

source

fn move_in_time<F>(&self, travel_amount: F)where F: Fn(i64, u32) -> (i64, u32),

Provided Methods§

Implementations on Foreign Types§

source§

impl CargoPathExt for Path

source§

fn rm_rf(&self)

source§

fn mkdir_p(&self)

source§

fn move_in_time<F>(&self, travel_amount: F)where F: Fn(i64, u32) -> (i64, u32),

Implementors§