pub struct BundleAssetResolver { /* private fields */ }Expand description
Wraps the corresponding Model I/O bundle asset resolver counterpart.
Implementations§
Source§impl BundleAssetResolver
impl BundleAssetResolver
Sourcepub fn new(path: &str) -> Result<Self>
pub fn new(path: &str) -> Result<Self>
Wraps the corresponding Model I/O initializer for the wrapped Model I/O bundle asset resolver counterpart.
Sourcepub fn path(&self) -> Option<String>
pub fn path(&self) -> Option<String>
Calls the corresponding Model I/O method on the wrapped Model I/O bundle asset resolver counterpart.
Sourcepub fn set_path(&self, path: &str) -> Result<()>
pub fn set_path(&self, path: &str) -> Result<()>
Calls the corresponding Model I/O method on the wrapped Model I/O bundle asset resolver counterpart.
Sourcepub fn as_asset_resolver(&self) -> AssetResolver
pub fn as_asset_resolver(&self) -> AssetResolver
Calls the corresponding Model I/O method on the wrapped Model I/O bundle asset resolver counterpart.
Trait Implementations§
Source§impl Clone for BundleAssetResolver
impl Clone for BundleAssetResolver
Source§fn clone(&self) -> BundleAssetResolver
fn clone(&self) -> BundleAssetResolver
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BundleAssetResolver
impl RefUnwindSafe for BundleAssetResolver
impl !Send for BundleAssetResolver
impl !Sync for BundleAssetResolver
impl Unpin for BundleAssetResolver
impl UnsafeUnpin for BundleAssetResolver
impl UnwindSafe for BundleAssetResolver
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