mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-17 07:18:04 +08:00
Refactor document node type lookup function to fix performance degradation over time (#1878)
* Refactor document_node_types function * Fix node introspection * Implement diff based type updates * Fix missing monitor nodes * Improve docs and fix warings * Fix wrongful removal of node paths * Remove code examples for non pub methodsü * Code review --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
@@ -118,8 +118,8 @@ impl core::ops::IndexMut<usize> for Rect {
|
||||
}
|
||||
}
|
||||
|
||||
impl Into<Quad> for Rect {
|
||||
fn into(self) -> Quad {
|
||||
Quad::from_box(self.0)
|
||||
impl From<Rect> for Quad {
|
||||
fn from(val: Rect) -> Self {
|
||||
Quad::from_box(val.0)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user