pub struct Relationship<'a>(/* private fields */);Expand description
A usd::Relationship creates dependencies between scenegraph objects by allowing a prim to target other prims, attributes, or relationships.
Methods from Deref<Target = Object<'a>>§
pub fn stage(&self) -> &Stage
pub fn path(&self) -> &Path
pub fn metadata<T: ValueType>(&self, key: &Token) -> Option<T>
Sourcepub fn documentation(&self) -> String
pub fn documentation(&self) -> String
Return this object’s documentation (metadata).
This returns the empty string if no documentation has been set.
Sourcepub fn custom_data(&self) -> Dictionary
pub fn custom_data(&self) -> Dictionary
Return this object’s composed customData dictionary.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Relationship<'a>
impl<'a> !Send for Relationship<'a>
impl<'a> !Sync for Relationship<'a>
impl<'a> !UnwindSafe for Relationship<'a>
impl<'a> Freeze for Relationship<'a>
impl<'a> Unpin for Relationship<'a>
impl<'a> UnsafeUnpin for Relationship<'a>
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