#[repr(C)]pub struct StateDesc {
pub ty: &'static TypeDesc,
pub init: InitFn,
}Fields§
§ty: &'static TypeDesc§init: InitFnTrait Implementations§
Auto Trait Implementations§
impl Freeze for StateDesc
impl RefUnwindSafe for StateDesc
impl Send for StateDesc
impl Sync for StateDesc
impl Unpin for StateDesc
impl UnsafeUnpin for StateDesc
impl UnwindSafe for StateDesc
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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