Trait godot::obj::EngineEnum
pub trait EngineEnum: Copy {
// Required methods
fn try_from_ord(ord: i32) -> Option<Self>;
fn ord(self) -> i32;
// Provided method
fn from_ord(ord: i32) -> Self { ... }
}
Expand description
Auto-implemented for all engine-provided enums.
Required Methods§
fn try_from_ord(ord: i32) -> Option<Self>
Provided Methods§
Object Safety§
This trait is not object safe.