Struct DEACTIVATE_ACTIVITY_MESSAGE
pub struct DEACTIVATE_ACTIVITY_MESSAGE { /* private fields */ }Expand description
Send this message to an Activity Host to deactivate its child Activity that you set in the message. You can use this message only to deactivate an Activity in a Parallel Activity Host.
Methods from Deref<Target = MessageType<ActivationMessageArguments>>§
pub fn as_ptr(&self) -> *mut MessageTypeWrapper
pub fn get_native(&self) -> Result<NonNull<c_void>, Error>
pub fn get_native(&self) -> Result<NonNull<c_void>, Error>
Gets a pointer to the backing C++ instance.
pub fn get_arguments_metaclass(&self) -> Result<Metaclass, Error>
pub fn get_arguments_metaclass(&self) -> Result<Metaclass, Error>
Gets the metaclass of the message arguments associated with the message type.
pub fn get_name(&self) -> Result<KanziString, Error>
pub fn get_name(&self) -> Result<KanziString, Error>
Gets the fully qualified name of the message type in the form “Class.MessageType”.
pub fn get_routing(&self) -> Result<MessageRouting, Error>
pub fn get_routing(&self) -> Result<MessageRouting, Error>
Gets the message routing of the message type.
pub fn compare(&self, rhs: &MessageType<T>) -> Result<bool, Error>
pub fn compare(&self, rhs: &MessageType<T>) -> Result<bool, Error>
Compares two message types.
pub fn get_editor_info(&self) -> Result<Option<EditorInfo>, Error>
pub fn get_editor_info(&self) -> Result<Option<EditorInfo>, Error>
Gets editor info for the message type.
pub fn as_abstract(&self) -> &MessageType<MessageArguments>
pub fn as_abstract(&self) -> &MessageType<MessageArguments>
Casts a MessageType reference to its abstract representation.
pub fn create_args(&self, domain: &Domain) -> Result<T, Error>
pub fn create_args(&self, domain: &Domain) -> Result<T, Error>
Creates an instance of MessageArguments for the specified message type.
Trait Implementations§
§impl Deref for DEACTIVATE_ACTIVITY_MESSAGE
impl Deref for DEACTIVATE_ACTIVITY_MESSAGE
§type Target = MessageType<ActivationMessageArguments>
type Target = MessageType<ActivationMessageArguments>
The resulting type after dereferencing.
§fn deref(&self) -> &MessageType<ActivationMessageArguments>
fn deref(&self) -> &MessageType<ActivationMessageArguments>
Dereferences the value.
impl LazyStatic for DEACTIVATE_ACTIVITY_MESSAGE
Auto Trait Implementations§
impl Freeze for DEACTIVATE_ACTIVITY_MESSAGE
impl RefUnwindSafe for DEACTIVATE_ACTIVITY_MESSAGE
impl Send for DEACTIVATE_ACTIVITY_MESSAGE
impl Sync for DEACTIVATE_ACTIVITY_MESSAGE
impl Unpin for DEACTIVATE_ACTIVITY_MESSAGE
impl UnwindSafe for DEACTIVATE_ACTIVITY_MESSAGE
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