pub enum FilterResult {
Forward,
Drop,
}
Expand description
Return value of the filter closure passed to MessageLoop::run
.
Variants§
Forward
The message is forwarded to the window procedure.
Drop
The message is dropped and not forwarded to the window procedure.
Trait Implementations§
Source§impl Clone for FilterResult
impl Clone for FilterResult
Source§fn clone(&self) -> FilterResult
fn clone(&self) -> FilterResult
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 FilterResult
impl Debug for FilterResult
Source§impl PartialEq for FilterResult
impl PartialEq for FilterResult
impl Copy for FilterResult
impl Eq for FilterResult
impl StructuralPartialEq for FilterResult
Auto Trait Implementations§
impl Freeze for FilterResult
impl RefUnwindSafe for FilterResult
impl Send for FilterResult
impl Sync for FilterResult
impl Unpin for FilterResult
impl UnwindSafe for FilterResult
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