InfoTarget

Trait InfoTarget 

Source
pub trait InfoTarget: Sealed {
    // Provided method
    fn get_info<T: Info<Target = Self>>(&self) -> T::Item { ... }
}
Expand description

Types which can be queried for information.

Provided Methods§

Source

fn get_info<T: Info<Target = Self>>(&self) -> T::Item

Queries this object for information requested by given generic parameter.

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§