Skip to main content

PackedElement

Trait PackedElement 

pub trait PackedElement:
    GodotType
    + Clone
    + ToGodot
    + FromGodot { }
Expand description

Marker trait to identify types that can be stored in PackedArray<T>.

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 PackedElement for f32

§

impl PackedElement for f64

§

impl PackedElement for i32

§

impl PackedElement for i64

§

impl PackedElement for u8

Implementors§