pub trait IntoOptionalGStr {
// Required method
fn run_with_gstr<T, F: FnOnce(Option<&GStr>) -> T>(self, f: F) -> T;
}
Required Methods§
fn run_with_gstr<T, F: FnOnce(Option<&GStr>) -> T>(self, f: F) -> T
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.