Enum MessageRouting
#[repr(i32)]pub enum MessageRouting {
Tunneling = 1,
Bubbling = 2,
TunnelingBubbling = 3,
}Expand description
Message routing modes.
Variants§
Tunneling = 1
Identifies the tunneling phase, during which a message travels down the node tree from the first child node of the Screen node (the root node) to the node where the message originated.
Bubbling = 2
Identifies the bubbling phase, during which a message travels up the node tree from the node where the message originated to the first child node of the Screen node (the root node).
TunnelingBubbling = 3
Identifies both, the tunneling and the bubbling phase.
Implementations§
§impl MessageRouting
impl MessageRouting
pub fn as_str(self) -> &'static str
pub fn convert(num: i32) -> MessageRouting
Trait Implementations§
§impl Clone for MessageRouting
impl Clone for MessageRouting
§fn clone(&self) -> MessageRouting
fn clone(&self) -> MessageRouting
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for MessageRouting
impl Debug for MessageRouting
§impl Display for MessageRouting
impl Display for MessageRouting
§impl PartialEq for MessageRouting
impl PartialEq for MessageRouting
§impl VariantConstraint for MessageRouting
impl VariantConstraint for MessageRouting
§type DataArg<'a> = MessageRouting
type DataArg<'a> = MessageRouting
Specifies the type of an argument that provides a value to
Variant.
Generally, this type matches Self, except for KanziString, Resource, and ResourceId. Read more§type RetArg = MessageRouting
type RetArg = MessageRouting
§fn as_arg(&self) -> <MessageRouting as VariantConstraint>::DataArg<'_>
fn as_arg(&self) -> <MessageRouting as VariantConstraint>::DataArg<'_>
impl Copy for MessageRouting
impl Eq for MessageRouting
impl PropertyTypeConstraint for MessageRouting
impl StructuralPartialEq for MessageRouting
Auto Trait Implementations§
impl Freeze for MessageRouting
impl RefUnwindSafe for MessageRouting
impl Send for MessageRouting
impl Sync for MessageRouting
impl Unpin for MessageRouting
impl UnwindSafe for MessageRouting
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