mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 00:57:26 +00:00
ui-contract: EditorStep is non_exhaustive
This commit is contained in:
@@ -27,6 +27,7 @@ pub(crate) type Order = (usize, u8);
|
||||
|
||||
/// One step of an editor's pass, in the order of the events it came from ([`Cx::editor_steps`]).
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
#[non_exhaustive]
|
||||
pub enum EditorStep<S> {
|
||||
/// An input of the editor part.
|
||||
Input(EditorInput),
|
||||
|
||||
Reference in New Issue
Block a user