pub struct MessageOutputIsOwned<const OWNED: bool>(/* private fields */);
Expand description
Simple class allowing to write strings to various output channels.
MessageOutput
represents a C++wxMessageOutput
class instance which your code has ownership,MessageOutputIsOwned
<false>
represents one which don’t own.- Use
MessageOutput
’snew()
to create an instance of this class. - See C++
wxMessageOutput
class’s documentation for more details.
Implementations§
Trait Implementations§
Source§impl Clone for MessageOutputIsOwned<false>
impl Clone for MessageOutputIsOwned<false>
Source§impl<const OWNED: bool> Drop for MessageOutputIsOwned<OWNED>
impl<const OWNED: bool> Drop for MessageOutputIsOwned<OWNED>
Source§impl<const OWNED: bool> MessageOutputMethods for MessageOutputIsOwned<OWNED>
impl<const OWNED: bool> MessageOutputMethods for MessageOutputIsOwned<OWNED>
Source§fn get() -> Option<MessageOutputIsOwned<false>>
fn get() -> Option<MessageOutputIsOwned<false>>
Return the global message output object. Read more
Source§fn 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. Read more
Source§impl<const OWNED: bool> WxRustMethods for MessageOutputIsOwned<OWNED>
impl<const OWNED: bool> WxRustMethods for MessageOutputIsOwned<OWNED>
type Unowned = MessageOutputIsOwned<false>
unsafe fn as_ptr(&self) -> *mut c_void
unsafe fn from_ptr(ptr: *mut c_void) -> Self
unsafe fn from_unowned_ptr(ptr: *mut c_void) -> Self::Unowned
unsafe fn with_ptr<F: Fn(&Self)>(ptr: *mut c_void, closure: F)
unsafe fn option_from(ptr: *mut c_void) -> Option<Self::Unowned>where
Self: Sized,
Auto Trait Implementations§
impl<const OWNED: bool> Freeze for MessageOutputIsOwned<OWNED>
impl<const OWNED: bool> RefUnwindSafe for MessageOutputIsOwned<OWNED>
impl<const OWNED: bool> !Send for MessageOutputIsOwned<OWNED>
impl<const OWNED: bool> !Sync for MessageOutputIsOwned<OWNED>
impl<const OWNED: bool> Unpin for MessageOutputIsOwned<OWNED>
impl<const OWNED: bool> UnwindSafe for MessageOutputIsOwned<OWNED>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more