1
0
Fork 0
forked from wry/wry

autocommit 2022-04-20 20:20:36 CEST

This commit is contained in:
Julian Orth 2022-04-20 20:20:36 +02:00
parent 34e665cd8b
commit dae9e52347
8 changed files with 22 additions and 13 deletions

View file

@ -73,6 +73,12 @@ pub enum FindTreeResult {
Other,
}
impl FindTreeResult {
pub fn accepts_input(self) -> bool {
self == Self::AcceptsInput
}
}
pub trait SizedNode: Sized + 'static {
fn id(&self) -> NodeId;
fn seat_state(&self) -> &NodeSeatState;