#[non_exhaustive]pub enum PropagationLimit {
None,
SameNative,
}
Expand description
Describes limits of a EventController
for handling events
targeting other widgets.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None
Events are handled regardless of what their target is.
SameNative
Events are only handled if their target
is in the same Native
as the event controllers widget. Note
that some event types have two targets (origin and destination).
Trait Implementations§
Source§impl Clone for PropagationLimit
impl Clone for PropagationLimit
Source§fn clone(&self) -> PropagationLimit
fn clone(&self) -> PropagationLimit
Returns a copy 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 moreSource§impl Debug for PropagationLimit
impl Debug for PropagationLimit
Source§impl From<PropagationLimit> for Value
impl From<PropagationLimit> for Value
Source§fn from(v: PropagationLimit) -> Self
fn from(v: PropagationLimit) -> Self
Converts to this type from the input type.
Source§impl<'a> FromValue<'a> for PropagationLimit
impl<'a> FromValue<'a> for PropagationLimit
Source§type Checker = GenericValueTypeChecker<PropagationLimit>
type Checker = GenericValueTypeChecker<PropagationLimit>
Value type checker.
Source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moreSource§impl HasParamSpec for PropagationLimit
impl HasParamSpec for PropagationLimit
type ParamSpec = ParamSpecEnum
Source§type SetValue = PropagationLimit
type SetValue = PropagationLimit
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(_: &str, _: PropagationLimit) -> ParamSpecEnumBuilder<'_, PropagationLimit>
fn param_spec_builder() -> Self::BuilderFn
Source§impl Hash for PropagationLimit
impl Hash for PropagationLimit
Source§impl Ord for PropagationLimit
impl Ord for PropagationLimit
Source§fn cmp(&self, other: &PropagationLimit) -> Ordering
fn cmp(&self, other: &PropagationLimit) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PropagationLimit
impl PartialEq for PropagationLimit
Source§impl PartialOrd for PropagationLimit
impl PartialOrd for PropagationLimit
Source§impl StaticType for PropagationLimit
impl StaticType for PropagationLimit
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.Source§impl ToValue for PropagationLimit
impl ToValue for PropagationLimit
Source§impl ValueType for PropagationLimit
impl ValueType for PropagationLimit
Source§type Type = PropagationLimit
type Type = PropagationLimit
Type to get the
Type
from. Read moreimpl Copy for PropagationLimit
impl Eq for PropagationLimit
impl StructuralPartialEq for PropagationLimit
Auto Trait Implementations§
impl Freeze for PropagationLimit
impl RefUnwindSafe for PropagationLimit
impl Send for PropagationLimit
impl Sync for PropagationLimit
impl Unpin for PropagationLimit
impl UnwindSafe for PropagationLimit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
Source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
Source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
Source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.