Enum Propagation
pub enum Propagation {
Stop,
Proceed,
}Expand description
Whether to invoke the other event handlers.
Stop and Proceed map to GDK_EVENT_STOP (true) and
GDK_EVENT_PROPAGATE (false), respectively.
Variants§
Implementations§
§impl Propagation
impl Propagation
pub fn is_proceed(&self) -> bool
pub fn is_proceed(&self) -> bool
Returns true if this is a Proceed variant.
Trait Implementations§
§impl Clone for Propagation
impl Clone for Propagation
§fn clone(&self) -> Propagation
fn clone(&self) -> Propagation
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 Propagation
impl Debug for Propagation
§impl From<Propagation> for Value
impl From<Propagation> for Value
§fn from(v: Propagation) -> Value
fn from(v: Propagation) -> Value
Converts to this type from the input type.
§impl From<Propagation> for bool
impl From<Propagation> for bool
§fn from(c: Propagation) -> bool
fn from(c: Propagation) -> bool
Converts to this type from the input type.
§impl From<bool> for Propagation
impl From<bool> for Propagation
§fn from(value: bool) -> Propagation
fn from(value: bool) -> Propagation
Converts to this type from the input type.
§impl PartialEq for Propagation
impl PartialEq for Propagation
§impl ToValue for Propagation
impl ToValue for Propagation
impl Copy for Propagation
impl Eq for Propagation
impl StructuralPartialEq for Propagation
Auto Trait Implementations§
impl Freeze for Propagation
impl RefUnwindSafe for Propagation
impl Send for Propagation
impl Sync for Propagation
impl Unpin for Propagation
impl UnwindSafe for Propagation
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToSendValue for T
impl<T> ToSendValue for T
§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue clone of self.