autocommit 2022-04-20 20:20:36 CEST
This commit is contained in:
parent
34e665cd8b
commit
dae9e52347
8 changed files with 22 additions and 13 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue