Enum AppControl
pub enum AppControl {
Continue,
Stop,
}Expand description
A hook’s decision about whether the application should continue.
Variants§
Continue
Continue to the next hook or host frame.
Stop
Stop now, skip subsequent frame hooks, and attempt shutdown.
Trait Implementations§
§impl Clone for AppControl
impl Clone for AppControl
§fn clone(&self) -> AppControl
fn clone(&self) -> AppControl
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 AppControl
impl Debug for AppControl
§impl PartialEq for AppControl
impl PartialEq for AppControl
impl Copy for AppControl
impl Eq for AppControl
impl StructuralPartialEq for AppControl
Auto Trait Implementations§
impl Freeze for AppControl
impl RefUnwindSafe for AppControl
impl Send for AppControl
impl Sync for AppControl
impl Unpin for AppControl
impl UnwindSafe for AppControl
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