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.

Implementations on Foreign Types§

Source§

impl TypePath for bool

Source§

impl TypePath for char

Source§

impl TypePath for f32

Source§

impl TypePath for f64

Source§

impl TypePath for i8

Source§

impl TypePath for i16

Source§

impl TypePath for i32

Source§

impl TypePath for i64

Source§

impl TypePath for i128

Source§

impl TypePath for isize

Source§

impl TypePath for str

Source§

impl TypePath for u8

Source§

impl TypePath for u16

Source§

impl TypePath for u32

Source§

impl TypePath for u64

Source§

impl TypePath for u128

Source§

impl TypePath for ()

Source§

impl TypePath for usize

Implementors§

Source§

impl TypePath for CuMsgMetadata

Source§

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

Source§

impl<T, M> TypePath for CuStampedData<T, M>
where T: CuMsgPayload, M: Metadata,

Source§

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

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>

Source§

impl<T: Clone> TypePath for CuLatchedState<T>

Source§

impl<T: Clone> TypePath for CuLatchedStateUpdate<T>

Source§

impl<T: Clone, const N: usize> TypePath for CuArray<T, N>

Source§

impl<Tx: BridgeChannelSet + 'static, Rx: BridgeChannelSet + 'static> TypePath for CuSimBridge<Tx, Rx>