pub struct ClassRegistration {
pub type_id: u64,
pub shape: u64,
pub depends_on: &'static [u64],
pub create: fn(last_try: bool, shape: u64) -> bool,
pub register: fn(),
pub finalize: fn(),
pub after_defaults: fn(),
}Fields§
§type_id: u64§shape: u64§depends_on: &'static [u64]§create: fn(last_try: bool, shape: u64) -> bool§register: fn()§finalize: fn()§after_defaults: fn()Trait Implementations§
impl Collect for ClassRegistration
Auto Trait Implementations§
impl Freeze for ClassRegistration
impl RefUnwindSafe for ClassRegistration
impl Send for ClassRegistration
impl Sync for ClassRegistration
impl Unpin for ClassRegistration
impl UnsafeUnpin for ClassRegistration
impl UnwindSafe for ClassRegistration
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