Trait Map
pub trait Map<T> {
// Required method
fn map<F>(self, f: F) -> Self
where F: FnOnce(T) -> T;
}
Available on crate features
__ecma
and __utils
only.Expand description
Copied from syntax::ptr::P
of rustc.
Required Methods§
Object Safety§
This trait is not object safe.