Skip to main content

HandleBase

Trait HandleBase 

Source
pub trait HandleBase {
    // Required methods
    fn name(&self) -> String;
    fn full_name(&self) -> String;
}
Expand description

A trait for the common methods of all handle types

Required Methods§

Source

fn name(&self) -> String

Get the name of the handle (without hierarchy)

Source

fn full_name(&self) -> String

Get the full name of the handle (with hierarchy)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§