pub struct Property<'a>(/* private fields */);Expand description
Base class for usd::Attribute and usd::Relationship scenegraph objects.
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 Property<'a>
impl<'a> !Send for Property<'a>
impl<'a> !Sync for Property<'a>
impl<'a> !UnwindSafe for Property<'a>
impl<'a> Freeze for Property<'a>
impl<'a> Unpin for Property<'a>
impl<'a> UnsafeUnpin for Property<'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