Struct InstanceType
pub struct InstanceType { /* private fields */ }
Implementations§
§impl InstanceType
impl InstanceType
pub const NONE: InstanceType
pub const NONE: InstanceType
Godot enumerator name: INSTANCE_NONE
pub const MESH: InstanceType
pub const MESH: InstanceType
Godot enumerator name: INSTANCE_MESH
pub const MULTIMESH: InstanceType
pub const MULTIMESH: InstanceType
Godot enumerator name: INSTANCE_MULTIMESH
pub const PARTICLES: InstanceType
pub const PARTICLES: InstanceType
Godot enumerator name: INSTANCE_PARTICLES
pub const PARTICLES_COLLISION: InstanceType
pub const PARTICLES_COLLISION: InstanceType
Godot enumerator name: INSTANCE_PARTICLES_COLLISION
pub const LIGHT: InstanceType
pub const LIGHT: InstanceType
Godot enumerator name: INSTANCE_LIGHT
pub const REFLECTION_PROBE: InstanceType
pub const REFLECTION_PROBE: InstanceType
Godot enumerator name: INSTANCE_REFLECTION_PROBE
pub const DECAL: InstanceType
pub const DECAL: InstanceType
Godot enumerator name: INSTANCE_DECAL
pub const VOXEL_GI: InstanceType
pub const VOXEL_GI: InstanceType
Godot enumerator name: INSTANCE_VOXEL_GI
pub const LIGHTMAP: InstanceType
pub const LIGHTMAP: InstanceType
Godot enumerator name: INSTANCE_LIGHTMAP
pub const OCCLUDER: InstanceType
pub const OCCLUDER: InstanceType
Godot enumerator name: INSTANCE_OCCLUDER
pub const VISIBLITY_NOTIFIER: InstanceType
pub const VISIBLITY_NOTIFIER: InstanceType
Godot enumerator name: INSTANCE_VISIBLITY_NOTIFIER
pub const FOG_VOLUME: InstanceType
pub const FOG_VOLUME: InstanceType
Godot enumerator name: INSTANCE_FOG_VOLUME
pub const MAX: InstanceType
pub const MAX: InstanceType
Godot enumerator name: INSTANCE_MAX
pub const GEOMETRY_MASK: InstanceType
pub const GEOMETRY_MASK: InstanceType
Godot enumerator name: INSTANCE_GEOMETRY_MASK
Trait Implementations§
§impl Clone for InstanceType
impl Clone for InstanceType
§fn clone(&self) -> InstanceType
fn clone(&self) -> InstanceType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for InstanceType
impl Debug for InstanceType
§impl EngineEnum for InstanceType
impl EngineEnum for InstanceType
§impl FromGodot for InstanceType
impl FromGodot for InstanceType
§fn try_from_godot(
via: <InstanceType as GodotConvert>::Via,
) -> Result<InstanceType, ConvertError>
fn try_from_godot( via: <InstanceType as GodotConvert>::Via, ) -> Result<InstanceType, ConvertError>
Converts the Godot representation to this type, returning
Err
on failure.§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
⚠️ Converts the Godot representation to this type. Read more
§fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
Performs the conversion from a
Variant
, returning Err
on failure.§fn from_variant(variant: &Variant) -> Self
fn from_variant(variant: &Variant) -> Self
§impl GodotConvert for InstanceType
impl GodotConvert for InstanceType
§impl Hash for InstanceType
impl Hash for InstanceType
§impl PartialEq for InstanceType
impl PartialEq for InstanceType
§impl ToGodot for InstanceType
impl ToGodot for InstanceType
impl Copy for InstanceType
impl Eq for InstanceType
impl StructuralPartialEq for InstanceType
Auto Trait Implementations§
impl Freeze for InstanceType
impl RefUnwindSafe for InstanceType
impl Send for InstanceType
impl Sync for InstanceType
impl Unpin for InstanceType
impl UnwindSafe for InstanceType
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