Struct godot::classes::rendering_server::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
§fn eq(&self, other: &InstanceType) -> bool
fn eq(&self, other: &InstanceType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl ToGodot for InstanceType
impl ToGodot for InstanceType
§fn to_godot(&self) -> <InstanceType as GodotConvert>::Via
fn to_godot(&self) -> <InstanceType as GodotConvert>::Via
Converts this type to the Godot type by reference, usually by cloning.
§fn into_godot(self) -> Self::Via
fn into_godot(self) -> Self::Via
Converts this type to the Godot type. Read more
§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Converts this type to a Variant.
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)