Trait TypePath

Source
pub trait TypePath: 'static {
    // Required methods
    fn type_path() -> &'static str;
    fn short_type_path() -> &'static str;

    // Provided methods
    fn type_ident() -> Option<&'static str> { ... }
    fn crate_name() -> Option<&'static str> { ... }
    fn module_path() -> Option<&'static str> { ... }
}
Expand description

A static accessor to type paths and names.

The engine uses this trait over std::any::type_name for stability and flexibility.

This trait is automatically implemented by the #[derive(Reflect)] macro and allows type path information to be processed without an instance of that type.

Implementors may have difficulty in generating references with static lifetimes. Luckily, this crate comes with some utility structs, to make generating these statics much simpler.

§Stability

Certain parts of the engine, e.g. (de)serialization, rely on type paths as identifiers for matching dynamic values to concrete types.

Using std::any::type_name, a scene containing my_crate::foo::MyComponent would break, failing to deserialize if the component was moved from the foo module to the bar module, becoming my_crate::bar::MyComponent. This trait, through attributes when deriving itself or Reflect, can ensure breaking changes are avoidable.

The only external factor we rely on for stability when deriving is the module_path! macro, only if the derive does not provide a #[type_path = "..."] attribute.

§Anonymity

Some methods on this trait return Option<&'static str> over &'static str because not all types define all parts of a type path, for example the array type [T; N].

Such types are ‘anonymous’ in that they have only a defined type_path and short_type_path and the methods crate_name, module_path and type_ident all return None.

Primitives are treated like anonymous types, except they also have a defined type_ident.

§Example

use bevy_reflect::TypePath;

// This type path will not change with compiler versions or recompiles,
// although it will not be the same if the definition is moved.
#[derive(TypePath)]
struct NonStableTypePath;

// This type path will never change, even if the definition is moved.
#[derive(TypePath)]
#[type_path = "my_crate::foo"]
struct StableTypePath;

// Type paths can have any number of path segments.
#[derive(TypePath)]
#[type_path = "my_crate::foo::bar::baz"]
struct DeeplyNestedStableTypePath;

// Including just a crate name!
#[derive(TypePath)]
#[type_path = "my_crate"]
struct ShallowStableTypePath;

// We can also rename the identifier/name of types.
#[derive(TypePath)]
#[type_path = "my_crate::foo"]
#[type_name = "RenamedStableTypePath"]
struct NamedStableTypePath;

// Generics are also supported.
#[derive(TypePath)]
#[type_path = "my_crate::foo"]
struct StableGenericTypePath<T, const N: usize>([T; N]);

Required Methods§

Source

fn type_path() -> &'static str

Returns the fully qualified path of the underlying type.

Generic parameter types are also fully expanded.

For Option<Vec<usize>>, this is "core::option::Option<alloc::vec::Vec<usize>>".

Source

fn short_type_path() -> &'static str

Returns a short, pretty-print enabled path to the type.

Generic parameter types are also shortened.

For Option<Vec<usize>>, this is "Option<Vec<usize>>".

Provided Methods§

Source

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

Returns the name of the type, or None if it is anonymous.

Primitive types will return Some.

For Option<Vec<usize>>, this is "Option".

Source

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

Returns the name of the crate the type is in, or None if it is anonymous.

For Option<Vec<usize>>, this is "core".

Source

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

Returns the path to the module the type is in, or None if it is anonymous.

For Option<Vec<usize>>, this is "core::option".

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 ButtonState
where ButtonState: Any + Send + Sync,

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>

Source§

impl TypePath for GamepadConnection

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>

Source§

impl TypePath for GamepadEvent

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>

Source§

impl TypePath for Key
where Key: Any + Send + Sync,

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>

Source§

impl TypePath for NativeKey
where NativeKey: Any + Send + Sync,

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>

Source§

impl TypePath for NativeKeyCode

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>

Source§

impl TypePath for MouseScrollUnit

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>

Source§

impl TypePath for ForceTouch
where ForceTouch: Any + Send + Sync,

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>

Source§

impl TypePath for TouchPhase
where TouchPhase: Any + Send + Sync,

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>

Source§

impl TypePath for CompassOctant

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>

Source§

impl TypePath for CompassQuadrant

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>

Source§

impl TypePath for AppLifecycle

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>

Source§

impl TypePath for CompositeAlphaMode

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>

Source§

impl TypePath for CursorGrabMode

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>

Source§

impl TypePath for PresentMode
where PresentMode: Any + Send + Sync,

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>

Source§

impl TypePath for WindowLevel
where WindowLevel: Any + Send + Sync,

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>

Source§

impl TypePath for WindowMode
where WindowMode: Any + Send + Sync,

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>

Source§

impl TypePath for WindowRef
where WindowRef: Any + Send + Sync,

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>

Source§

impl TypePath for WindowTheme
where WindowTheme: Any + Send + Sync,

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>

Source§

impl TypePath for bool
where bool: Any + Send + Sync,

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>

Source§

impl TypePath for char
where char: Any + Send + Sync,

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>

Source§

impl TypePath for f32
where f32: Any + Send + Sync,

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>

Source§

impl TypePath for f64
where f64: Any + Send + Sync,

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>

Source§

impl TypePath for i8
where i8: Any + Send + Sync,

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>

Source§

impl TypePath for i16
where i16: Any + Send + Sync,

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>

Source§

impl TypePath for i32
where i32: Any + Send + Sync,

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>

Source§

impl TypePath for i64
where i64: Any + Send + Sync,

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>

Source§

impl TypePath for i128
where i128: Any + Send + Sync,

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>

Source§

impl TypePath for isize
where isize: Any + Send + Sync,

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>

Source§

impl TypePath for str
where str: Any + Send + Sync,

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>

Source§

impl TypePath for u8
where u8: Any + Send + Sync,

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>

Source§

impl TypePath for u16
where u16: Any + Send + Sync,

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>

Source§

impl TypePath for u32
where u32: Any + Send + Sync,

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>

Source§

impl TypePath for u64
where u64: Any + Send + Sync,

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>

Source§

impl TypePath for u128
where u128: Any + Send + Sync,

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>

Source§

impl TypePath for ()

Source§

fn type_path() -> &'static str

Source§

fn short_type_path() -> &'static str

Source§

impl TypePath for usize
where usize: Any + Send + Sync,

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>

Source§

impl TypePath for String
where String: Any + Send + Sync,

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>

Source§

impl TypePath for TypeId
where TypeId: Any + Send + Sync,

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>

Source§

impl TypePath for BuildHasherDefault<AHasher>

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>

Source§

impl TypePath for NonZero<i8>
where NonZero<i8>: Any + Send + Sync,

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>

Source§

impl TypePath for NonZero<i16>
where NonZero<i16>: Any + Send + Sync,

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>

Source§

impl TypePath for NonZero<i32>
where NonZero<i32>: Any + Send + Sync,

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>

Source§

impl TypePath for NonZero<i64>
where NonZero<i64>: Any + Send + Sync,

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>

Source§

impl TypePath for NonZero<i128>
where NonZero<i128>: Any + Send + Sync,

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>

Source§

impl TypePath for NonZero<isize>
where NonZero<isize>: Any + Send + Sync,

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>

Source§

impl TypePath for NonZero<u8>
where NonZero<u8>: Any + Send + Sync,

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>

Source§

impl TypePath for NonZero<u16>
where NonZero<u16>: Any + Send + Sync,

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>

Source§

impl TypePath for NonZero<u32>
where NonZero<u32>: Any + Send + Sync,

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>

Source§

impl TypePath for NonZero<u64>
where NonZero<u64>: Any + Send + Sync,

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>

Source§

impl TypePath for NonZero<u128>
where NonZero<u128>: Any + Send + Sync,

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>

Source§

impl TypePath for NonZero<usize>
where NonZero<usize>: Any + Send + Sync,

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>

Source§

impl TypePath for RangeFull
where RangeFull: Any + Send + Sync,

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>

Source§

impl TypePath for Duration
where Duration: Any + Send + Sync,

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>

Source§

impl TypePath for OsString
where OsString: Any + Send + Sync,

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>

Source§

impl TypePath for RandomState
where RandomState: Any + Send + Sync,

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>

Source§

impl TypePath for Path
where Path: Any + Send + Sync,

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>

Source§

impl TypePath for PathBuf
where PathBuf: Any + Send + Sync,

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>

Source§

impl TypePath for Instant
where Instant: Any + Send + Sync,

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>

Source§

impl TypePath for ComponentId
where ComponentId: Any + Send + Sync,

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>

Source§

impl TypePath for ComponentTicks

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>

Source§

impl TypePath for Tick
where Tick: Any + Send + Sync,

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>

Source§

impl TypePath for EntityHash
where EntityHash: Any + Send + Sync,

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>

Source§

impl TypePath for Identifier
where Identifier: Any + Send + Sync,

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>

Source§

impl TypePath for AxisSettings

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>

Source§

impl TypePath for ButtonAxisSettings

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>

Source§

impl TypePath for ButtonSettings

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>

Source§

impl TypePath for GamepadAxisChangedEvent

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>

Source§

impl TypePath for GamepadButtonChangedEvent

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>

Source§

impl TypePath for GamepadButtonInput

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>

Source§

impl TypePath for GamepadConnectionEvent

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>

Source§

impl TypePath for GamepadInfo
where GamepadInfo: Any + Send + Sync,

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>

Source§

impl TypePath for GamepadSettings

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>

Source§

impl TypePath for DoubleTapGesture

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>

Source§

impl TypePath for PanGesture
where PanGesture: Any + Send + Sync,

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>

Source§

impl TypePath for PinchGesture

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>

Source§

impl TypePath for RotationGesture

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>

Source§

impl TypePath for KeyboardFocusLost

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>

Source§

impl TypePath for KeyboardInput

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>

Source§

impl TypePath for MouseButtonInput

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>

Source§

impl TypePath for MouseMotion
where MouseMotion: Any + Send + Sync,

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>

Source§

impl TypePath for MouseWheel
where MouseWheel: Any + Send + Sync,

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>

Source§

impl TypePath for Affine3
where Affine3: Any + Send + Sync,

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>

Source§

impl TypePath for AspectRatio
where AspectRatio: Any + Send + Sync,

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>

Source§

impl TypePath for Aabb2d
where Aabb2d: Any + Send + Sync,

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>

Source§

impl TypePath for BoundingCircle

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>

Source§

impl TypePath for Aabb3d
where Aabb3d: Any + Send + Sync,

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>

Source§

impl TypePath for BoundingSphere

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>

Source§

impl TypePath for AabbCast2d
where AabbCast2d: Any + Send + Sync,

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>

Source§

impl TypePath for BoundingCircleCast

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>

Source§

impl TypePath for RayCast2d
where RayCast2d: Any + Send + Sync,

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>

Source§

impl TypePath for AabbCast3d
where AabbCast3d: Any + Send + Sync,

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>

Source§

impl TypePath for BoundingSphereCast

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>

Source§

impl TypePath for RayCast3d
where RayCast3d: Any + Send + Sync,

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>

Source§

impl TypePath for FloatOrd
where FloatOrd: Any + Send + Sync,

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>

Source§

impl TypePath for Stopwatch
where Stopwatch: Any + Send + Sync,

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>

Source§

impl TypePath for EntityHash
where EntityHash: Any + Send + Sync,

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>

Source§

impl TypePath for FixedState
where FixedState: Any + Send + Sync,

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>

Source§

impl TypePath for NoOpHash
where NoOpHash: Any + Send + Sync,

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>

Source§

impl TypePath for RequestRedraw

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>

Source§

impl TypePath for WindowBackendScaleFactorChanged

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>

Source§

impl TypePath for WindowCloseRequested

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>

Source§

impl TypePath for WindowClosed

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>

Source§

impl TypePath for WindowClosing

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>

Source§

impl TypePath for WindowCreated

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>

Source§

impl TypePath for WindowDestroyed

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>

Source§

impl TypePath for WindowFocused

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>

Source§

impl TypePath for WindowOccluded

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>

Source§

impl TypePath for WindowResized

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>

Source§

impl TypePath for WindowScaleFactorChanged

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>

Source§

impl TypePath for WindowThemeChanged

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>

Source§

impl TypePath for Cursor
where Cursor: Any + Send + Sync,

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>

Source§

impl TypePath for EnabledButtons

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>

Source§

impl TypePath for InternalWindowState

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>

Source§

impl TypePath for NormalizedWindowRef

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>

Source§

impl TypePath for PrimaryWindow

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>

Source§

impl TypePath for WindowResolution

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>

Source§

impl TypePath for BVec3A
where BVec3A: Any + Send + Sync,

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>

Source§

impl TypePath for BVec4A
where BVec4A: Any + Send + Sync,

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>

Source§

impl TypePath for Affine2
where Affine2: Any + Send + Sync,

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>

Source§

impl TypePath for Affine3A
where Affine3A: Any + Send + Sync,

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>

Source§

impl TypePath for Mat3A
where Mat3A: Any + Send + Sync,

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>

Source§

impl TypePath for Vec3A
where Vec3A: Any + Send + Sync,

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>

Source§

impl TypePath for DAffine2
where DAffine2: Any + Send + Sync,

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>

Source§

impl TypePath for DAffine3
where DAffine3: Any + Send + Sync,

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>

Source§

impl TypePath for DMat2
where DMat2: Any + Send + Sync,

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>

Source§

impl TypePath for DMat3
where DMat3: Any + Send + Sync,

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>

Source§

impl TypePath for DMat4
where DMat4: Any + Send + Sync,

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>

Source§

impl TypePath for DQuat
where DQuat: Any + Send + Sync,

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>

Source§

impl TypePath for DVec2
where DVec2: Any + Send + Sync,

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>

Source§

impl TypePath for DVec3
where DVec3: Any + Send + Sync,

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>

Source§

impl TypePath for DVec4
where DVec4: Any + Send + Sync,

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>

Source§

impl TypePath for I64Vec2
where I64Vec2: Any + Send + Sync,

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>

Source§

impl TypePath for I64Vec3
where I64Vec3: Any + Send + Sync,

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>

Source§

impl TypePath for I64Vec4
where I64Vec4: Any + Send + Sync,

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>

Source§

impl TypePath for U64Vec2
where U64Vec2: Any + Send + Sync,

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>

Source§

impl TypePath for U64Vec3
where U64Vec3: Any + Send + Sync,

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>

Source§

impl TypePath for U64Vec4
where U64Vec4: Any + Send + Sync,

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>

Source§

impl TypePath for SmolStr
where SmolStr: Any + Send + Sync,

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>

Source§

impl<'a, T> TypePath for Cow<'a, T>
where 'a: 'static, T: ToOwned + TypePath + ?Sized, Cow<'a, T>: Any + Send + Sync,

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>

Source§

impl<E> TypePath for EventId<E>
where E: Event + TypePath, EventId<E>: Any + Send + Sync,

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>

Source§

impl<K, V> TypePath for BTreeMap<K, V>
where BTreeMap<K, V>: Any + Send + Sync, K: TypePath, V: TypePath,

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>

Source§

impl<K, V, S> TypePath for HashMap<K, V, S>
where HashMap<K, V, S>: Any + Send + Sync, K: TypePath, V: TypePath, S: TypePath,

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>

Source§

impl<K, V, S> TypePath for HashMap<K, V, S>
where HashMap<K, V, S>: Any + Send + Sync, K: TypePath, V: TypePath, S: TypePath,

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>

Source§

impl<P0> TypePath for (P0,)
where P0: TypePath,

Source§

fn type_path() -> &'static str

Source§

fn short_type_path() -> &'static str

Source§

impl<P1, P0> TypePath for (P1, P0)
where P1: TypePath, P0: TypePath,

Source§

fn type_path() -> &'static str

Source§

fn short_type_path() -> &'static str

Source§

impl<P1, P2, P0> TypePath for (P1, P2, P0)
where P1: TypePath, P2: TypePath, P0: TypePath,

Source§

fn type_path() -> &'static str

Source§

fn short_type_path() -> &'static str

Source§

impl<P1, P2, P3, P0> TypePath for (P1, P2, P3, P0)
where P1: TypePath, P2: TypePath, P3: TypePath, P0: TypePath,

Source§

fn type_path() -> &'static str

Source§

fn short_type_path() -> &'static str

Source§

impl<P1, P2, P3, P4, P0> TypePath for (P1, P2, P3, P4, P0)
where P1: TypePath, P2: TypePath, P3: TypePath, P4: TypePath, P0: TypePath,

Source§

fn type_path() -> &'static str

Source§

fn short_type_path() -> &'static str

Source§

impl<P1, P2, P3, P4, P5, P0> TypePath for (P1, P2, P3, P4, P5, P0)
where P1: TypePath, P2: TypePath, P3: TypePath, P4: TypePath, P5: TypePath, P0: TypePath,

Source§

fn type_path() -> &'static str

Source§

fn short_type_path() -> &'static str

Source§

impl<P1, P2, P3, P4, P5, P6, P0> TypePath for (P1, P2, P3, P4, P5, P6, P0)
where P1: TypePath, P2: TypePath, P3: TypePath, P4: TypePath, P5: TypePath, P6: TypePath, P0: TypePath,

Source§

fn type_path() -> &'static str

Source§

fn short_type_path() -> &'static str

Source§

impl<P1, P2, P3, P4, P5, P6, P7, P0> TypePath for (P1, P2, P3, P4, P5, P6, P7, P0)
where P1: TypePath, P2: TypePath, P3: TypePath, P4: TypePath, P5: TypePath, P6: TypePath, P7: TypePath, P0: TypePath,

Source§

fn type_path() -> &'static str

Source§

fn short_type_path() -> &'static str

Source§

impl<P1, P2, P3, P4, P5, P6, P7, P8, P0> TypePath for (P1, P2, P3, P4, P5, P6, P7, P8, P0)
where P1: TypePath, P2: TypePath, P3: TypePath, P4: TypePath, P5: TypePath, P6: TypePath, P7: TypePath, P8: TypePath, P0: TypePath,

Source§

fn type_path() -> &'static str

Source§

fn short_type_path() -> &'static str

Source§

impl<P1, P2, P3, P4, P5, P6, P7, P8, P9, P0> TypePath for (P1, P2, P3, P4, P5, P6, P7, P8, P9, P0)
where P1: TypePath, P2: TypePath, P3: TypePath, P4: TypePath, P5: TypePath, P6: TypePath, P7: TypePath, P8: TypePath, P9: TypePath, P0: TypePath,

Source§

fn type_path() -> &'static str

Source§

fn short_type_path() -> &'static str

Source§

impl<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P0> TypePath for (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P0)
where P1: TypePath, P2: TypePath, P3: TypePath, P4: TypePath, P5: TypePath, P6: TypePath, P7: TypePath, P8: TypePath, P9: TypePath, P10: TypePath, P0: TypePath,

Source§

fn type_path() -> &'static str

Source§

fn short_type_path() -> &'static str

Source§

impl<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P0> TypePath for (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P0)
where P1: TypePath, P2: TypePath, P3: TypePath, P4: TypePath, P5: TypePath, P6: TypePath, P7: TypePath, P8: TypePath, P9: TypePath, P10: TypePath, P11: TypePath, P0: TypePath,

Source§

fn type_path() -> &'static str

Source§

fn short_type_path() -> &'static str

Source§

impl<P> TypePath for LinearSpline<P>

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>

Source§

impl<T> TypePath for Option<T>
where Option<T>: Any + Send + Sync, T: TypePath,

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>

Source§

impl<T> TypePath for &'static T
where T: TypePath + ?Sized,

Source§

fn type_path() -> &'static str

Source§

fn short_type_path() -> &'static str

Source§

impl<T> TypePath for &'static mut T
where T: TypePath + ?Sized,

Source§

fn type_path() -> &'static str

Source§

fn short_type_path() -> &'static str

Source§

impl<T> TypePath for [T]
where T: TypePath, [T]: ToOwned,

Source§

fn type_path() -> &'static str

Source§

fn short_type_path() -> &'static str

Source§

impl<T> TypePath for BinaryHeap<T>
where T: Clone + TypePath, BinaryHeap<T>: Any + Send + Sync,

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>

Source§

impl<T> TypePath for BTreeSet<T>
where T: Ord + Eq + Clone + Send + Sync + TypePath, BTreeSet<T>: Any + Send + Sync,

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>

Source§

impl<T> TypePath for VecDeque<T>
where VecDeque<T>: Any + Send + Sync, T: TypePath,

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>

Source§

impl<T> TypePath for Arc<T>
where T: Send + Sync + TypePath, Arc<T>: Any + Send + Sync,

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>

Source§

impl<T> TypePath for Vec<T>
where Vec<T>: Any + Send + Sync, T: TypePath,

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>

Source§

impl<T> TypePath for Saturating<T>
where T: Clone + Send + Sync + TypePath, Saturating<T>: Any + Send + Sync,

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>

Source§

impl<T> TypePath for Wrapping<T>
where T: Clone + Send + Sync + TypePath, Wrapping<T>: Any + Send + Sync,

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>

Source§

impl<T> TypePath for Range<T>
where T: Clone + Send + Sync + TypePath, Range<T>: Any + Send + Sync,

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>

Source§

impl<T> TypePath for RangeFrom<T>
where T: Clone + Send + Sync + TypePath, RangeFrom<T>: Any + Send + Sync,

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>

Source§

impl<T> TypePath for RangeInclusive<T>
where T: Clone + Send + Sync + TypePath, RangeInclusive<T>: Any + Send + Sync,

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>

Source§

impl<T> TypePath for RangeTo<T>
where T: Clone + Send + Sync + TypePath, RangeTo<T>: Any + Send + Sync,

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>

Source§

impl<T> TypePath for RangeToInclusive<T>
where T: Clone + Send + Sync + TypePath, RangeToInclusive<T>: Any + Send + Sync,

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>

Source§

impl<T> TypePath for SmallVec<T>
where T: Array + TypePath, SmallVec<T>: Any + Send + Sync,

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>

Source§

impl<T, E> TypePath for Result<T, E>
where Result<T, E>: Any + Send + Sync, T: TypePath, E: TypePath,

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>

Source§

impl<T, S> TypePath for HashSet<T, S>
where T: Hash + Eq + Clone + Send + Sync + TypePath, S: TypePath + Clone + Send + Sync, HashSet<T, S>: Any + Send + Sync,

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>

Source§

impl<T, S> TypePath for HashSet<T, S>
where T: Hash + Eq + Clone + Send + Sync + TypePath, S: TypePath + Clone + Send + Sync, HashSet<T, S>: Any + Send + Sync,

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>

Source§

impl<T, const N: usize> TypePath for [T; N]
where T: TypePath,

Source§

fn type_path() -> &'static str

Source§

fn short_type_path() -> &'static str

Implementors§

Source§

impl TypePath for CursorIcon
where CursorIcon: Any + Send + Sync,

Source§

impl TypePath for EulerRot
where EulerRot: Any + Send + Sync,

Source§

impl TypePath for FileDragAndDrop

Source§

impl TypePath for GamepadAxisType

Source§

impl TypePath for GamepadButtonType

Source§

impl TypePath for Ime
where Ime: Any + Send + Sync,

Source§

impl TypePath for KeyCode
where KeyCode: Any + Send + Sync,

Source§

impl TypePath for MonitorSelection

Source§

impl TypePath for MouseButton
where MouseButton: Any + Send + Sync,

Source§

impl TypePath for TimerMode
where TimerMode: Any + Send + Sync,

Source§

impl TypePath for WindowPosition

Source§

impl TypePath for DynamicArray

Source§

impl TypePath for DynamicEnum
where DynamicEnum: Any + Send + Sync,

Source§

impl TypePath for DynamicList
where DynamicList: Any + Send + Sync,

Source§

impl TypePath for DynamicMap
where DynamicMap: Any + Send + Sync,

Source§

impl TypePath for DynamicStruct

Source§

impl TypePath for DynamicTuple

Source§

impl TypePath for DynamicTupleStruct

Source§

impl TypePath for Annulus
where Annulus: Any + Send + Sync,

Source§

impl TypePath for Arc2d
where Arc2d: Any + Send + Sync,

Source§

impl TypePath for BVec2
where BVec2: Any + Send + Sync,

Source§

impl TypePath for BVec3
where BVec3: Any + Send + Sync,

Source§

impl TypePath for BVec4
where BVec4: Any + Send + Sync,

Source§

impl TypePath for Capsule2d
where Capsule2d: Any + Send + Sync,

Source§

impl TypePath for Capsule3d
where Capsule3d: Any + Send + Sync,

Source§

impl TypePath for Children
where Children: Any + Send + Sync,

Source§

impl TypePath for Circle
where Circle: Any + Send + Sync,

Source§

impl TypePath for CircularSector

Source§

impl TypePath for CircularSegment

Source§

impl TypePath for Cone
where Cone: Any + Send + Sync,

Source§

impl TypePath for ConicalFrustum

Source§

impl TypePath for Cuboid
where Cuboid: Any + Send + Sync,

Source§

impl TypePath for CursorEntered

Source§

impl TypePath for CursorLeft
where CursorLeft: Any + Send + Sync,

Source§

impl TypePath for CursorMoved
where CursorMoved: Any + Send + Sync,

Source§

impl TypePath for Cylinder
where Cylinder: Any + Send + Sync,

Source§

impl TypePath for Dir2
where Dir2: Any + Send + Sync,

Source§

impl TypePath for Dir3
where Dir3: Any + Send + Sync,

Source§

impl TypePath for Dir3A
where Dir3A: Any + Send + Sync,

Source§

impl TypePath for Ellipse
where Ellipse: Any + Send + Sync,

Source§

impl TypePath for Entity
where Entity: Any + Send + Sync,

Source§

impl TypePath for Fixed
where Fixed: Any + Send + Sync,

Source§

impl TypePath for Gamepad
where Gamepad: Any + Send + Sync,

Source§

impl TypePath for GamepadAxis
where GamepadAxis: Any + Send + Sync,

Source§

impl TypePath for GamepadButton

Source§

impl TypePath for GlobalTransform

Source§

impl TypePath for IRect
where IRect: Any + Send + Sync,

Source§

impl TypePath for IVec2
where IVec2: Any + Send + Sync,

Source§

impl TypePath for IVec3
where IVec3: Any + Send + Sync,

Source§

impl TypePath for IVec4
where IVec4: Any + Send + Sync,

Source§

impl TypePath for InfinitePlane3d

Source§

impl TypePath for Line2d
where Line2d: Any + Send + Sync,

Source§

impl TypePath for Line3d
where Line3d: Any + Send + Sync,

Source§

impl TypePath for Mat2
where Mat2: Any + Send + Sync,

Source§

impl TypePath for Mat3
where Mat3: Any + Send + Sync,

Source§

impl TypePath for Mat4
where Mat4: Any + Send + Sync,

Source§

impl TypePath for Name
where Name: Any + Send + Sync,

Source§

impl TypePath for OnAdd
where OnAdd: Any + Send + Sync,

Source§

impl TypePath for OnInsert
where OnInsert: Any + Send + Sync,

Source§

impl TypePath for OnRemove
where OnRemove: Any + Send + Sync,

Source§

impl TypePath for Parent
where Parent: Any + Send + Sync,

Source§

impl TypePath for Plane2d
where Plane2d: Any + Send + Sync,

Source§

impl TypePath for Plane3d
where Plane3d: Any + Send + Sync,

Source§

impl TypePath for Quat
where Quat: Any + Send + Sync,

Source§

impl TypePath for Ray2d
where Ray2d: Any + Send + Sync,

Source§

impl TypePath for Ray3d
where Ray3d: Any + Send + Sync,

Source§

impl TypePath for Real
where Real: Any + Send + Sync,

Source§

impl TypePath for ReceivedCharacter

Source§

impl TypePath for Rect
where Rect: Any + Send + Sync,

Source§

impl TypePath for Rectangle
where Rectangle: Any + Send + Sync,

Source§

impl TypePath for RegularPolygon

Source§

impl TypePath for Rhombus
where Rhombus: Any + Send + Sync,

Source§

impl TypePath for Rot2
where Rot2: Any + Send + Sync,

Source§

impl TypePath for Segment2d
where Segment2d: Any + Send + Sync,

Source§

impl TypePath for Segment3d
where Segment3d: Any + Send + Sync,

Source§

impl TypePath for Sphere
where Sphere: Any + Send + Sync,

Source§

impl TypePath for Tetrahedron
where Tetrahedron: Any + Send + Sync,

Source§

impl TypePath for Timer
where Timer: Any + Send + Sync,

Source§

impl TypePath for Torus
where Torus: Any + Send + Sync,

Source§

impl TypePath for TouchInput
where TouchInput: Any + Send + Sync,

Source§

impl TypePath for Transform
where Transform: Any + Send + Sync,

Source§

impl TypePath for Triangle2d
where Triangle2d: Any + Send + Sync,

Source§

impl TypePath for Triangle3d
where Triangle3d: Any + Send + Sync,

Source§

impl TypePath for URect
where URect: Any + Send + Sync,

Source§

impl TypePath for UVec2
where UVec2: Any + Send + Sync,

Source§

impl TypePath for UVec3
where UVec3: Any + Send + Sync,

Source§

impl TypePath for UVec4
where UVec4: Any + Send + Sync,

Source§

impl TypePath for Vec2
where Vec2: Any + Send + Sync,

Source§

impl TypePath for Vec3
where Vec3: Any + Send + Sync,

Source§

impl TypePath for Vec4
where Vec4: Any + Send + Sync,

Source§

impl TypePath for Virtual
where Virtual: Any + Send + Sync,

Source§

impl TypePath for Window
where Window: Any + Send + Sync,

Source§

impl TypePath for WindowMoved
where WindowMoved: Any + Send + Sync,

Source§

impl TypePath for WindowResizeConstraints

Source§

impl TypePath for dyn Reflect

Source§

impl<E> TypePath for Events<E>
where E: Event + TypePath, Events<E>: Any + Send + Sync,

Source§

impl<P> TypePath for CubicBSpline<P>

Source§

impl<P> TypePath for CubicBezier<P>

Source§

impl<P> TypePath for CubicCardinalSpline<P>

Source§

impl<P> TypePath for CubicCurve<P>

Source§

impl<P> TypePath for CubicHermite<P>

Source§

impl<P> TypePath for CubicNurbs<P>

Source§

impl<P> TypePath for CubicSegment<P>

Source§

impl<P> TypePath for RationalCurve<P>

Source§

impl<P> TypePath for RationalSegment<P>

Source§

impl<T> TypePath for ButtonInput<T>
where T: Copy + Eq + Hash + Send + Sync + 'static + TypePath, ButtonInput<T>: Any + Send + Sync,

Source§

impl<T> TypePath for Time<T>
where T: Default + TypePath, Time<T>: Any + Send + Sync,

Source§

impl<const N: usize> TypePath for Polygon<N>
where Polygon<N>: Any + Send + Sync,

Source§

impl<const N: usize> TypePath for Polyline2d<N>
where Polyline2d<N>: Any + Send + Sync,

Source§

impl<const N: usize> TypePath for Polyline3d<N>
where Polyline3d<N>: Any + Send + Sync,