Trait PackedArrayElement
pub trait PackedArrayElement: GodotType + Sealed { }
Expand description
Marker trait to identify types that can be stored in Packed*Array
types.
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§
impl PackedArrayElement for f32
impl PackedArrayElement for f64
impl PackedArrayElement for i32
impl PackedArrayElement for i64
impl PackedArrayElement for u8
Implementors§
impl PackedArrayElement for Color
impl PackedArrayElement for GString
impl PackedArrayElement for Vector2
impl PackedArrayElement for Vector3
impl PackedArrayElement for Vector4
Available on
since_api="4.3"
only.