Skip to main content

NodeGeometry

Trait NodeGeometry 

Source
pub trait NodeGeometry {
    // Required methods
    fn id(&self) -> i32;
    fn rect(&self) -> (f32, f32, f32, f32);
}
Expand description

Trait for node geometry data needed for selection

Required Methods§

Source

fn id(&self) -> i32

Source

fn rect(&self) -> (f32, f32, f32, f32)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§