#[non_exhaustive]pub enum FrameEvent {
ViewChanging(Option<String>),
ViewChanged(Option<String>),
}Expand description
What a frame goes through, in order, for whoever shows it.
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.
ViewChanging(Option<String>)
The view is about to change, to this one.
ViewChanged(Option<String>)
The view changed, and the controllers that fit it are on.
Trait Implementations§
Source§impl Clone for FrameEvent
impl Clone for FrameEvent
Source§fn clone(&self) -> FrameEvent
fn clone(&self) -> FrameEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FrameEvent
impl Debug for FrameEvent
impl Eq for FrameEvent
Source§impl PartialEq for FrameEvent
impl PartialEq for FrameEvent
impl StructuralPartialEq for FrameEvent
Auto Trait Implementations§
impl Freeze for FrameEvent
impl RefUnwindSafe for FrameEvent
impl Send for FrameEvent
impl Sync for FrameEvent
impl Unpin for FrameEvent
impl UnsafeUnpin for FrameEvent
impl UnwindSafe for FrameEvent
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