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 Forget for SkillResource
impl Freeze for SkillResource
impl Move for SkillResource
impl RefUnwindSafe for SkillResource
impl Send for SkillResourcewhere
RawVecInner: Send,
impl Sync for SkillResourcewhere
RawVecInner: Sync,
impl Unpin for SkillResource
impl UnsafeUnpin for SkillResource
impl UnwindSafe for SkillResourcewhere
RawVecInner: UnwindSafe,
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