#[non_exhaustive]pub enum FilterReturn {
Continue,
Remove,
}
Expand description
Return values for the CoglXlibFilterFunc
and CoglWin32FilterFunc
functions.
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.
Continue
The event was not handled, continues the processing
Remove
Remove the event, stops the processing
Trait Implementations§
Source§impl Clone for FilterReturn
impl Clone for FilterReturn
Source§fn clone(&self) -> FilterReturn
fn clone(&self) -> FilterReturn
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 moreSource§impl Debug for FilterReturn
impl Debug for FilterReturn
Source§impl Display for FilterReturn
impl Display for FilterReturn
Source§impl<'a> FromValue<'a> for FilterReturn
impl<'a> FromValue<'a> for FilterReturn
Source§unsafe fn from_value(value: &Value) -> Self
unsafe fn from_value(value: &Value) -> Self
Safety Read more
Source§impl<'a> FromValueOptional<'a> for FilterReturn
impl<'a> FromValueOptional<'a> for FilterReturn
Source§impl Hash for FilterReturn
impl Hash for FilterReturn
Source§impl Ord for FilterReturn
impl Ord for FilterReturn
Source§fn cmp(&self, other: &FilterReturn) -> Ordering
fn cmp(&self, other: &FilterReturn) -> 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 FilterReturn
impl PartialEq for FilterReturn
Source§impl PartialOrd for FilterReturn
impl PartialOrd for FilterReturn
Source§impl SetValue for FilterReturn
impl SetValue for FilterReturn
Source§impl StaticType for FilterReturn
impl StaticType for FilterReturn
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Copy for FilterReturn
impl Eq for FilterReturn
impl StructuralPartialEq for FilterReturn
Auto Trait Implementations§
impl Freeze for FilterReturn
impl RefUnwindSafe for FilterReturn
impl Send for FilterReturn
impl Sync for FilterReturn
impl Unpin for FilterReturn
impl UnwindSafe for FilterReturn
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> 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
.