Function cursor::wrap[][src]

pub fn wrap<T, F: FnOnce() -> bool>(i: T, condition: F) -> Option<T>