Struct ENTER

pub struct ENTER { /* private fields */ }
Expand description

Button: Enter trigger is set off:

  • When the user presses down the button.
  • When the user presses down the button, moves the pointer outside of the button area, and then moves the pointer back to the button area while still holding down the pointer.

Methods from Deref<Target = MessageType<PointerEnteredMessageArguments>>§

pub fn as_ptr(&self) -> *mut MessageTypeWrapper

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>

Gets the metaclass of the message arguments associated with the message type.

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>

Gets the message routing of the message type.

pub fn compare(&self, rhs: &MessageType<T>) -> Result<bool, Error>

Compares two message types.

pub fn get_editor_info(&self) -> Result<Option<EditorInfo>, Error>

Gets editor info for the message type.

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>

Creates an instance of MessageArguments for the specified message type.

Trait Implementations§

§

impl Deref for ENTER

§

type Target = MessageType<PointerEnteredMessageArguments>

The resulting type after dereferencing.
§

fn deref(&self) -> &MessageType<PointerEnteredMessageArguments>

Dereferences the value.
§

impl LazyStatic for ENTER

Auto Trait Implementations§

§

impl Freeze for ENTER

§

impl RefUnwindSafe for ENTER

§

impl Send for ENTER

§

impl Sync for ENTER

§

impl Unpin for ENTER

§

impl UnwindSafe for ENTER

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> AsAny for T
where T: 'static,

§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Inherits<T> for T

§

fn upcast(self) -> Base

§

fn upcast_ref(&self) -> &Base

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.