pub struct Ironworks { /* private fields */ }
Expand description
Core ironworks struct. Add one or more resources to query files.
Implementations
sourceimpl Ironworks
impl Ironworks
sourcepub fn add_resource(&mut self, resource: impl Resource)
pub fn add_resource(&mut self, resource: impl Resource)
Add a resource to search for files. Resources are searched last-first; the last resource added to ironworks that provides a requested path will be the resource that is utilised.
sourcepub fn with_resource(self, resource: impl Resource) -> Self
pub fn with_resource(self, resource: impl Resource) -> Self
Add a resource to search for files. Resources are searched last-first; the last resource added to ironworks that provides a requested path will be the resource that is utilised.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Ironworks
impl Send for Ironworks
impl Sync for Ironworks
impl Unpin for Ironworks
impl !UnwindSafe for Ironworks
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more