Skip to main content

Locatable

Trait Locatable 

Source
pub trait Locatable {
    // Required method
    fn locate(&self) -> Range;
}

Required Methods§

Source

fn locate(&self) -> Range

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§