Skip to main content

TypePath

Trait TypePath 

Source
pub trait TypePath {
    // Provided methods
    fn type_path() -> &'static str { ... }
    fn short_type_path() -> &'static str { ... }
    fn type_ident() -> Option<&'static str> { ... }
    fn crate_name() -> Option<&'static str> { ... }
    fn module_path() -> Option<&'static str> { ... }
}

Provided Methods§

Source

fn type_path() -> &'static str

Source

fn short_type_path() -> &'static str

Source

fn type_ident() -> Option<&'static str>

Source

fn crate_name() -> Option<&'static str>

Source

fn module_path() -> Option<&'static str>

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§

Source§

impl<I: 'static> TypePath for CuSimSinkTask<I>

Source§

impl<T, O> TypePath for CuAsyncTask<T, O>
where T: for<'m> CuTask<Output<'m> = CuMsg<O>> + Send + 'static, O: CuMsgPayload + Send + 'static,

Source§

impl<T: 'static> TypePath for CuSimSrcTask<T>