pub struct ResourceDef {
pub what: &'static str,
pub node: &'static str,
pub lua: &'static str,
pub c: &'static str,
}Expand description
A host-registered resource and how each binding registers it.
Fields§
§what: &'static str§node: &'static str§lua: &'static str§c: &'static strAuto Trait Implementations§
impl Freeze for ResourceDef
impl RefUnwindSafe for ResourceDef
impl Send for ResourceDef
impl Sync for ResourceDef
impl Unpin for ResourceDef
impl UnsafeUnpin for ResourceDef
impl UnwindSafe for ResourceDef
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