Visualize ownership and lifetimes in Rust for debugging and optimization
RustOwl visualizes ownership movement and lifetimes of variables. When you save Rust source code, it is analyzed, and the ownership and lifetimes of variables are visualized when you hover over a variable or function call.
RustOwl visualizes those by using underlines:
green: variable's actual lifetime
blue: immutable borrowing
purple: mutable borrowing
orange: value moved
red: lifetime error - diff of lifetime between actual and expected
Currently, we offer VSCode extension and Neovim plugin. We implemented LSP server cargo owlsp which extends the protocol. So, RustOwl can be used easily from other editor.