Struct gdnative_core::export::ExportInfo
source · pub struct ExportInfo { /* private fields */ }
Expand description
Metadata about the exported property.
Implementations§
source§impl ExportInfo
impl ExportInfo
sourcepub fn new(variant_type: VariantType) -> Self
pub fn new(variant_type: VariantType) -> Self
Create an ExportInfo
with the given Variant type, but without a hint.
sourcepub fn resource_type<T>() -> Selfwhere
T: GodotObject,
pub fn resource_type<T>() -> Selfwhere
T: GodotObject,
Create an ExportInfo
with a hint for a specific Godot resource type.