pub enum Rule {
Size,
Keyboard,
Session,
Question,
Display,
Instances,
Application,
Ui,
Workers,
ViewState,
DialogContent,
}Expand description
The matching rules, in the order they are checked.
Variants§
Size
R1: the size needed against the room given.
Keyboard
R2: the keyboard, claimed keys and the keymap against the host’s focus policy, owned keys and keymap reach.
Session
R3: sessions and popups against the host’s lifetime and what dismisses it.
Question
R4: a question against a host that is not modal.
Display
R5: colours and cursors against the host’s display.
Instances
R6: one state per application, mounted where another may be.
Application
R7: the application against a host that gives none.
Ui
R8: any component against a host with no Ui.
Workers
R9: workers against a host that hides its content.
ViewState
R10: a view-state key against a host that keeps nothing.
DialogContent
R11: free content against a dialog of the four kinds.
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl PartialOrd for Rule
impl PartialOrd for Rule
impl Copy for Rule
impl Eq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnsafeUnpin for Rule
impl UnwindSafe for Rule
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