zakarumych / egui-snarl

Customizable egui node-graph library
https://crates.io/crates/egui-snarl
MIT License
287 stars 28 forks source link

Remove `get_` prefixes from getters #34

Open virtualritz opened 2 months ago

virtualritz commented 2 months ago

See "Getter names follow Rust convention (C-GETTER)" in the official Rust API Guidelines on naming.

Specifically:

egui_snarl::Snarl::get_node
egui_snarl::Snarl::get_node_mut
egui_snarl::Snarl::get_node_info
egui_snarl::Snarl::get_node_info_mut

should be:

egui_snarl::Snarl::node
egui_snarl::Snarl::node_mut
egui_snarl::Snarl::node_info
egui_snarl::Snarl::node_info_mut