pub struct ClassFunctionRegistration {
pub type_id: u64,
pub register_functions: fn(),
pub class_defaults: Option<fn()>,
}Expand description
Submitted by #[uclass_impl] — holds register_functions fn pointer, and the
#[class_defaults] method’s caller when the block has one.
Fields§
§type_id: u64The Rust type ID of the class the block implements.
register_functions: fn()§class_defaults: Option<fn()>Trait Implementations§
impl Collect for ClassFunctionRegistration
Auto Trait Implementations§
impl Freeze for ClassFunctionRegistration
impl RefUnwindSafe for ClassFunctionRegistration
impl Send for ClassFunctionRegistration
impl Sync for ClassFunctionRegistration
impl Unpin for ClassFunctionRegistration
impl UnsafeUnpin for ClassFunctionRegistration
impl UnwindSafe for ClassFunctionRegistration
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