Skip to main content

NameDebug

Trait NameDebug 

Source
pub trait NameDebug<'me> {
    // Required method
    fn file_line_name(self) -> LocationName<'me>;

    // Provided method
    fn get_debug(self) -> String
       where Self: Sized { ... }
}

Required Methods§

Provided Methods§

Source

fn get_debug(self) -> String
where Self: Sized,

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl NameDebug<'_> for &Entity<'_>

Implementors§

Source§

impl<'me> NameDebug<'me> for &'me Class<'me, '_>

Source§

impl<'me> NameDebug<'me> for &'me Const<'_>

Source§

impl<'me> NameDebug<'me> for &'me Enum<'_, '_>

Source§

impl<'me> NameDebug<'me> for &'me Func<'_, '_>

Source§

impl<'me> NameDebug<'me> for &'me Typedef<'_, '_>