use super::Property;
use crate::{sdf, usd};
#[repr(transparent)]
pub struct Relationship<'a>(Property<'a>);
impl<'a> Relationship<'a> {
pub(crate) fn new(stage: &'a usd::Stage, path: sdf::Path) -> Self {
Relationship(Property::new(stage, path))
}
}
impl<'a> std::ops::Deref for Relationship<'a> {
type Target = Property<'a>;
fn deref(&self) -> &Self::Target {
unsafe { std::mem::transmute(self) }
}
}