pub struct ScriptContent<T> {
pub path: String,
pub name: String,
pub data: Result<Option<T>, Box<dyn Error>>,
}
Fields§
§path: String
§name: String
§data: Result<Option<T>, Box<dyn Error>>
Auto Trait Implementations§
impl<T> Freeze for ScriptContent<T>where
T: Freeze,
impl<T> !RefUnwindSafe for ScriptContent<T>
impl<T> !Send for ScriptContent<T>
impl<T> !Sync for ScriptContent<T>
impl<T> Unpin for ScriptContent<T>where
T: Unpin,
impl<T> !UnwindSafe for ScriptContent<T>
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