Trait Linkable

Source
pub trait Linkable {
    // Required method
    fn can_link_to(&self, to: &Self) -> bool;
}
Expand description

Trait for types that may be linked to other instances of the type.

Required Methods§

Check if an item can link to another.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§