Struct usd::pxr::sdf::AssetPathRef
source · #[repr(C, align(8))]pub struct AssetPathRef { /* private fields */ }
Expand description
This is a reference to an AssetPath.
&AssetPathRef is to AssetPath, as &str is to String.
Implementations§
source§impl AssetPathRef
impl AssetPathRef
sourcepub fn get_asset_path(&self) -> Result<&str>
pub fn get_asset_path(&self) -> Result<&str>
Return the asset path as a &str
Trait Implementations§
source§impl AsRef<AssetPathRef> for AssetPath
impl AsRef<AssetPathRef> for AssetPath
source§fn as_ref(&self) -> &AssetPathRef
fn as_ref(&self) -> &AssetPathRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Display for AssetPathRef
impl Display for AssetPathRef
source§impl From<&AssetPathRef> for &Asset
impl From<&AssetPathRef> for &Asset
source§fn from(other: &AssetPathRef) -> Self
fn from(other: &AssetPathRef) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for AssetPathRef
impl Send for AssetPathRef
impl Sync for AssetPathRef
impl Unpin for AssetPathRef
impl UnwindSafe for AssetPathRef
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