Struct usd::pxr::usd_geom::PrimvarRef
source · #[repr(C, align(8))]pub struct PrimvarRef { /* private fields */ }
Expand description
This is a reference to the underlying UsdPrimvar
Implementations§
source§impl PrimvarRef
impl PrimvarRef
sourcepub fn get_interpolation(&self) -> Token
pub fn get_interpolation(&self) -> Token
Return the Primvar’s interpolation.
Interpolation determines how the Primvar interpolates over a geometric primitive.
pub fn set_interpolation(&self, interpolation: &Token) -> bool
Trait Implementations§
source§impl AsMut<PrimvarRef> for Primvar
impl AsMut<PrimvarRef> for Primvar
source§fn as_mut(&mut self) -> &mut PrimvarRef
fn as_mut(&mut self) -> &mut PrimvarRef
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsRef<PrimvarRef> for Primvar
impl AsRef<PrimvarRef> for Primvar
source§fn as_ref(&self) -> &PrimvarRef
fn as_ref(&self) -> &PrimvarRef
Converts this type into a shared reference of the (usually inferred) input type.
Auto Trait Implementations§
impl RefUnwindSafe for PrimvarRef
impl Send for PrimvarRef
impl Sync for PrimvarRef
impl Unpin for PrimvarRef
impl UnwindSafe for PrimvarRef
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