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.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExportInfo
impl RefUnwindSafe for ExportInfo
impl Send for ExportInfo
impl Sync for ExportInfo
impl Unpin for ExportInfo
impl UnwindSafe for ExportInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more