Trait dyn_any::StaticType

source ·
pub unsafe trait StaticType {
    type Static: 'static + ?Sized;

    // Provided method
    fn type_id(&self) -> TypeId { ... }
}

Required Associated Types§

source

type Static: 'static + ?Sized

Provided Methods§

source

fn type_id(&self) -> TypeId

Implementations on Foreign Types§

source§

impl StaticType for BVec2

source§

impl StaticType for f32

§

type Static = f32

source§

impl<T: StaticTypeSized> StaticType for Range<T>

source§

impl StaticType for BVec4

source§

impl StaticType for String

source§

impl<T: StaticType + ?Sized> StaticType for Box<T>

source§

impl<T: StaticTypeSized, const N: usize> StaticType for [T; N]

§

type Static = [<T as StaticTypeSized>::Static; N]

source§

impl<T: StaticTypeSized> StaticType for Arc<T>

source§

impl<H: StaticTypeSized, I: StaticTypeSized, J: StaticTypeSized, K: StaticTypeSized, L: StaticTypeSized> StaticType for (H, I, J, K, L)

source§

impl<T: StaticTypeSized> StaticType for LinkedList<T>

source§

impl<T: StaticTypeSized> StaticType for VecDeque<T>

source§

impl StaticType for UVec2

source§

impl StaticType for u32

§

type Static = u32

source§

impl StaticType for PhantomPinned

source§

impl StaticType for AtomicI16

source§

impl<L: StaticTypeSized> StaticType for (L,)

§

type Static = (<L as StaticTypeSized>::Static,)

source§

impl<T: StaticTypeSized> StaticType for Cell<T>

source§

impl<T: StaticTypeSized> StaticType for Wrapping<T>

source§

impl StaticType for i128

§

type Static = i128

source§

impl StaticType for IVec2

source§

impl StaticType for AtomicUsize

source§

impl StaticType for f64

§

type Static = f64

source§

impl<I: StaticTypeSized, J: StaticTypeSized, K: StaticTypeSized, L: StaticTypeSized> StaticType for (I, J, K, L)

source§

impl<T: StaticTypeSized> StaticType for RefCell<T>

source§

impl StaticType for DAffine3

source§

impl<T: StaticTypeSized> StaticType for ManuallyDrop<T>

source§

impl StaticType for u16

§

type Static = u16

source§

impl StaticType for Vec3A

source§

impl<K: StaticTypeSized, V: StaticTypeSized> StaticType for BTreeMap<K, V>

source§

impl<'a, T: 'a + StaticType + ?Sized> StaticType for &'a T

§

type Static = &'static <T as StaticType>::Static

source§

impl StaticType for i32

§

type Static = i32

source§

impl StaticType for DVec2

source§

impl<'a> StaticType for &'a str

§

type Static = &'static str

source§

impl StaticType for u128

§

type Static = u128

source§

impl StaticType for AtomicU32

source§

impl StaticType for DMat4

source§

impl<T: StaticTypeSized> StaticType for PhantomData<T>

source§

impl<'a, T: StaticTypeSized> StaticType for &'a [T]

§

type Static = &'static [<T as StaticTypeSized>::Static]

source§

impl<E: StaticTypeSized, F: StaticTypeSized, G: StaticTypeSized, H: StaticTypeSized, I: StaticTypeSized, J: StaticTypeSized, K: StaticTypeSized, L: StaticTypeSized> StaticType for (E, F, G, H, I, J, K, L)

source§

impl StaticType for IVec4

source§

impl StaticType for Mat3A

source§

impl<'a, T: StaticTypeSized> StaticType for RChunks<'a, T>

§

type Static = RChunks<'static, <T as StaticTypeSized>::Static>

source§

impl<T: StaticTypeSized> StaticType for Rc<T>

source§

impl StaticType for AtomicI64

source§

impl StaticType for DVec4

source§

impl<G: StaticTypeSized, H: StaticTypeSized, I: StaticTypeSized, J: StaticTypeSized, K: StaticTypeSized, L: StaticTypeSized> StaticType for (G, H, I, J, K, L)

source§

impl<T: StaticTypeSized> StaticType for Empty<T>

source§

impl StaticType for DMat2

source§

impl StaticType for Affine3A

source§

impl StaticType for AtomicI8

source§

impl<T: StaticTypeSized> StaticType for BinaryHeap<T>

source§

impl<K: StaticTypeSized, L: StaticTypeSized> StaticType for (K, L)

source§

impl StaticType for Once

§

type Static = Once

source§

impl<C: StaticTypeSized, D: StaticTypeSized, E: StaticTypeSized, F: StaticTypeSized, G: StaticTypeSized, H: StaticTypeSized, I: StaticTypeSized, J: StaticTypeSized, K: StaticTypeSized, L: StaticTypeSized> StaticType for (C, D, E, F, G, H, I, J, K, L)

source§

impl<T: StaticTypeSized> StaticType for AtomicPtr<T>

source§

impl<F: StaticTypeSized, G: StaticTypeSized, H: StaticTypeSized, I: StaticTypeSized, J: StaticTypeSized, K: StaticTypeSized, L: StaticTypeSized> StaticType for (F, G, H, I, J, K, L)

source§

impl StaticType for i64

§

type Static = i64

source§

impl<'a, T: StaticTypeSized> StaticType for Box<dyn Iterator<Item = T> + Send + Sync + 'a>

§

type Static = Box<dyn Iterator<Item = <T as StaticTypeSized>::Static> + Sync + Send + 'static, Global>

source§

impl StaticType for Vec4

§

type Static = Vec4

source§

impl StaticType for i8

§

type Static = i8

source§

impl<T: StaticTypeSized> StaticType for UnsafeCell<T>

source§

impl<'a, T: StaticTypeSized> StaticType for RChunksMut<'a, T>

§

type Static = RChunksMut<'static, <T as StaticTypeSized>::Static>

source§

impl StaticType for Mat3

§

type Static = Mat3

source§

impl StaticType for UVec4

source§

impl<J: StaticTypeSized, K: StaticTypeSized, L: StaticTypeSized> StaticType for (J, K, L)

source§

impl StaticType for bool

§

type Static = bool

source§

impl StaticType for Vec3

§

type Static = Vec3

source§

impl<T: StaticTypeSized> StaticType for RwLock<T>

source§

impl StaticType for DMat3

source§

impl StaticType for i16

§

type Static = i16

source§

impl<V: StaticTypeSized> StaticType for BTreeSet<V>

source§

impl<A: StaticTypeSized, B: StaticTypeSized, C: StaticTypeSized, D: StaticTypeSized, E: StaticTypeSized, F: StaticTypeSized, G: StaticTypeSized, H: StaticTypeSized, I: StaticTypeSized, J: StaticTypeSized, K: StaticTypeSized, L: StaticTypeSized> StaticType for (A, B, C, D, E, F, G, H, I, J, K, L)

source§

impl<T: StaticTypeSized> StaticType for Vec<T>

source§

impl<'a, T: StaticTypeSized> StaticType for IterMut<'a, T>

§

type Static = IterMut<'static, <T as StaticTypeSized>::Static>

source§

impl StaticType for BVec3

source§

impl StaticType for DQuat

source§

impl<'a, T: StaticTypeSized> StaticType for Windows<'a, T>

§

type Static = Windows<'static, <T as StaticTypeSized>::Static>

source§

impl StaticType for Quat

§

type Static = Quat

source§

impl<T: StaticTypeSized> StaticType for MaybeUninit<T>

source§

impl StaticType for char

§

type Static = char

source§

impl StaticType for AtomicBool

source§

impl StaticType for Vec2

§

type Static = Vec2

source§

impl<'a, T: StaticTypeSized> StaticType for ChunksMut<'a, T>

§

type Static = ChunksMut<'static, <T as StaticTypeSized>::Static>

source§

impl StaticType for AtomicIsize

source§

impl StaticType for AtomicU8

source§

impl<'a, T: StaticTypeClone + Clone> StaticType for Cow<'a, T>

§

type Static = Cow<'static, <T as StaticTypeClone>::Static>

source§

impl<T: StaticTypeSized> StaticType for *mut [T]

source§

impl<T: StaticTypeSized> StaticType for Mutex<T>

source§

impl StaticType for Duration

source§

impl StaticType for AtomicI32

source§

impl StaticType for usize

source§

impl<T: StaticTypeSized> StaticType for *const [T]

source§

impl StaticType for isize

source§

impl StaticType for DVec3

source§

impl<T: StaticTypeSized, E: StaticTypeSized> StaticType for Result<T, E>

source§

impl StaticType for u64

§

type Static = u64

source§

impl StaticType for u8

§

type Static = u8

source§

impl StaticType for Mat2

§

type Static = Mat2

source§

impl StaticType for AtomicU16

source§

impl<'a, T: StaticTypeSized> StaticType for Chunks<'a, T>

§

type Static = Chunks<'static, <T as StaticTypeSized>::Static>

source§

impl StaticType for Mat4

§

type Static = Mat4

source§

impl<T: StaticTypeSized> StaticType for Option<T>

source§

impl StaticType for AtomicU64

source§

impl StaticType for IVec3

source§

impl<'a, T: StaticTypeSized> StaticType for Iter<'a, T>

§

type Static = Iter<'static, <T as StaticTypeSized>::Static>

source§

impl StaticType for DAffine2

source§

impl<B: StaticTypeSized, C: StaticTypeSized, D: StaticTypeSized, E: StaticTypeSized, F: StaticTypeSized, G: StaticTypeSized, H: StaticTypeSized, I: StaticTypeSized, J: StaticTypeSized, K: StaticTypeSized, L: StaticTypeSized> StaticType for (B, C, D, E, F, G, H, I, J, K, L)

source§

impl StaticType for Affine2

source§

impl StaticType for ()

§

type Static = ()

source§

impl<D: StaticTypeSized, E: StaticTypeSized, F: StaticTypeSized, G: StaticTypeSized, H: StaticTypeSized, I: StaticTypeSized, J: StaticTypeSized, K: StaticTypeSized, L: StaticTypeSized> StaticType for (D, E, F, G, H, I, J, K, L)

source§

impl StaticType for UVec3

Implementors§

source§

impl<'a> StaticType for dyn DynAny<'a> + '_

§

type Static = dyn DynAny<'static> + 'static