Trait MessageOutputMethods

Source
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§

Source

fn get() -> Option<MessageOutputIsOwned<false>>

Return the global message output object.

See C++ wxMessageOutput::Get()’s documentation.

Source

fn set<M: MessageOutputMethods>( msgout: Option<&M>, ) -> Option<MessageOutputIsOwned<false>>

Sets the global message output object.

See C++ wxMessageOutput::Set()’s documentation.

Source

fn output(&self, str: &str)

Method called by Printf() to really output the text.

See C++ wxMessageOutput::Output()’s documentation.

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.

Implementors§