Enum ambient_api::ecs::WitComponentValue
source · pub enum WitComponentValue {
Show 32 variants
TypeEmpty(Empty),
TypeBool(bool),
TypeEntityId(EntityId),
TypeF32(f32),
TypeF64(f64),
TypeMat4(Mat4),
TypeQuat(Quat),
TypeString(String),
TypeU8(u8),
TypeU16(u16),
TypeU32(u32),
TypeU64(u64),
TypeI8(i8),
TypeI16(i16),
TypeI32(i32),
TypeI64(i64),
TypeVec2(Vec2),
TypeVec3(Vec3),
TypeVec4(Vec4),
TypeUvec2(Uvec2),
TypeUvec3(Uvec3),
TypeUvec4(Uvec4),
TypeIvec2(Ivec2),
TypeIvec3(Ivec3),
TypeIvec4(Ivec4),
TypeDuration(Duration),
TypeProceduralMeshHandle(Handle),
TypeProceduralTextureHandle(Handle),
TypeProceduralSamplerHandle(Handle),
TypeProceduralMaterialHandle(Handle),
TypeVec(VecValue),
TypeOption(OptionValue),
}
Variants§
TypeEmpty(Empty)
TypeBool(bool)
TypeEntityId(EntityId)
TypeF32(f32)
TypeF64(f64)
TypeMat4(Mat4)
TypeQuat(Quat)
TypeString(String)
TypeU8(u8)
TypeU16(u16)
TypeU32(u32)
TypeU64(u64)
TypeI8(i8)
TypeI16(i16)
TypeI32(i32)
TypeI64(i64)
TypeVec2(Vec2)
TypeVec3(Vec3)
TypeVec4(Vec4)
TypeUvec2(Uvec2)
TypeUvec3(Uvec3)
TypeUvec4(Uvec4)
TypeIvec2(Ivec2)
TypeIvec3(Ivec3)
TypeIvec4(Ivec4)
TypeDuration(Duration)
TypeProceduralMeshHandle(Handle)
TypeProceduralTextureHandle(Handle)
TypeProceduralSamplerHandle(Handle)
TypeProceduralMaterialHandle(Handle)
TypeVec(VecValue)
TypeOption(OptionValue)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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
source§impl<T> Downcast for T
impl<T> Downcast for T
source§impl<T> ElementComponentName for T
impl<T> ElementComponentName for T
source§fn element_component_name(&self) -> &'static str
fn element_component_name(&self) -> &'static str
Returns the name of the type implementing ElementComponent.