Struct godot::builtin::meta::registration::constant::ExportConstant
pub struct ExportConstant { /* private fields */ }
Expand description
All the info needed to export a constant to Godot.
Implementations§
§impl ExportConstant
impl ExportConstant
pub fn new(class_name: ClassName, kind: ConstantKind) -> ExportConstant
pub fn register(&self)
Auto Trait Implementations§
impl Freeze for ExportConstant
impl RefUnwindSafe for ExportConstant
impl Send for ExportConstant
impl Sync for ExportConstant
impl Unpin for ExportConstant
impl UnwindSafe for ExportConstant
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