pub struct ClassBuilder<C> { /* private fields */ }
Expand description
Class builder to store state for registering a class with Godot.
In the future this will be used, but for now it’s a dummy struct.
Implementations§
Source§impl<C> ClassBuilder<C>where
C: GodotClass,
impl<C> ClassBuilder<C>where
C: GodotClass,
pub fn virtual_method<'cb, F>( &'cb mut self, name: &'cb str, method: F, ) -> MethodBuilder<'cb, C, F>
Auto Trait Implementations§
impl<C> Freeze for ClassBuilder<C>
impl<C> RefUnwindSafe for ClassBuilder<C>where
C: RefUnwindSafe,
impl<C> Send for ClassBuilder<C>where
C: Send,
impl<C> Sync for ClassBuilder<C>where
C: Sync,
impl<C> Unpin for ClassBuilder<C>where
C: Unpin,
impl<C> UnwindSafe for ClassBuilder<C>where
C: UnwindSafe,
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