pub struct SkillResource {
pub path: String,
pub resource_type: ResourceType,
pub content: Option<Vec<u8>>,
}Expand description
A skill resource (Level 3: on-demand loading)
Fields§
§path: StringRelative path within skill directory
resource_type: ResourceTypeContent type
content: Option<Vec<u8>>Cached content (None until loaded)
Trait Implementations§
Source§impl Clone for SkillResource
impl Clone for SkillResource
Auto Trait Implementations§
impl Freeze for SkillResource
impl RefUnwindSafe for SkillResource
impl Send for SkillResource
impl Sync for SkillResource
impl Unpin for SkillResource
impl UnsafeUnpin for SkillResource
impl UnwindSafe for SkillResource
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