pub struct ScriptRef {
pub path: String,
pub class_name: String,
}Expand description
Script attachment: project-relative path plus the exported class name.
One file exports one class, which keeps the path + class attach
mapping trivial.
Fields§
§path: String§class_name: StringTrait Implementations§
impl Eq for ScriptRef
impl StructuralPartialEq for ScriptRef
Auto Trait Implementations§
impl Freeze for ScriptRef
impl RefUnwindSafe for ScriptRef
impl Send for ScriptRef
impl Sync for ScriptRef
impl Unpin for ScriptRef
impl UnsafeUnpin for ScriptRef
impl UnwindSafe for ScriptRef
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