pub enum SculptOrMeshKey {
Sculpt(TextureKey),
Mesh(MeshKey),
}Expand description
the asset backing a prim’s sculpt/mesh shape: either a sculpt texture
(TextureKey) or a mesh asset (MeshKey), as selected by the prim’s
sculpt-type discriminator
Variants§
Sculpt(TextureKey)
the prim is a sculpty: the key is a sculpt texture
Mesh(MeshKey)
the prim is a mesh: the key is a mesh asset
Implementations§
Trait Implementations§
Source§impl Clone for SculptOrMeshKey
impl Clone for SculptOrMeshKey
Source§fn clone(&self) -> SculptOrMeshKey
fn clone(&self) -> SculptOrMeshKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SculptOrMeshKey
Source§impl Debug for SculptOrMeshKey
impl Debug for SculptOrMeshKey
Source§impl Display for SculptOrMeshKey
impl Display for SculptOrMeshKey
impl Eq for SculptOrMeshKey
Source§impl From<SculptOrMeshKey> for Key
impl From<SculptOrMeshKey> for Key
Source§fn from(val: SculptOrMeshKey) -> Self
fn from(val: SculptOrMeshKey) -> Self
Converts to this type from the input type.
Source§impl Hash for SculptOrMeshKey
impl Hash for SculptOrMeshKey
Source§impl Ord for SculptOrMeshKey
impl Ord for SculptOrMeshKey
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SculptOrMeshKey
impl PartialEq for SculptOrMeshKey
Source§fn eq(&self, other: &SculptOrMeshKey) -> bool
fn eq(&self, other: &SculptOrMeshKey) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SculptOrMeshKey
impl PartialOrd for SculptOrMeshKey
impl StructuralPartialEq for SculptOrMeshKey
Auto Trait Implementations§
impl Freeze for SculptOrMeshKey
impl RefUnwindSafe for SculptOrMeshKey
impl Send for SculptOrMeshKey
impl Sync for SculptOrMeshKey
impl Unpin for SculptOrMeshKey
impl UnsafeUnpin for SculptOrMeshKey
impl UnwindSafe for SculptOrMeshKey
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