pub struct PathAssetResolver { /* private fields */ }Expand description
Wraps the corresponding Model I/O path asset resolver counterpart.
Implementations§
Source§impl PathAssetResolver
impl PathAssetResolver
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 path 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 path 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 path 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 path asset resolver counterpart.
Trait Implementations§
Source§impl Clone for PathAssetResolver
impl Clone for PathAssetResolver
Source§fn clone(&self) -> PathAssetResolver
fn clone(&self) -> PathAssetResolver
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 PathAssetResolver
impl RefUnwindSafe for PathAssetResolver
impl !Send for PathAssetResolver
impl !Sync for PathAssetResolver
impl Unpin for PathAssetResolver
impl UnsafeUnpin for PathAssetResolver
impl UnwindSafe for PathAssetResolver
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