pub trait MessageOutputMethods: WxRustMethods {
// Provided methods
fn get() -> Option<MessageOutputIsOwned<false>> { ... }
fn set<M: MessageOutputMethods>(
msgout: Option<&M>,
) -> Option<MessageOutputIsOwned<false>> { ... }
fn output(&self, str: &str) { ... }
}
Expand description
This trait represents C++ wxMessageOutput
class’s methods and inheritance.
See MessageOutputIsOwned
documentation for the class usage.
Provided Methods§
Sourcefn get() -> Option<MessageOutputIsOwned<false>>
fn get() -> Option<MessageOutputIsOwned<false>>
Return the global message output object.
Sourcefn set<M: MessageOutputMethods>(
msgout: Option<&M>,
) -> Option<MessageOutputIsOwned<false>>
fn set<M: MessageOutputMethods>( msgout: Option<&M>, ) -> Option<MessageOutputIsOwned<false>>
Sets the global message output object.
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.