godot::classes

Struct Resource

#[repr(C)]
pub struct Resource { /* private fields */ }
Expand description

Godot class Resource.

Inherits RefCounted.

Related symbols:

See also Godot docs for Resource.

§Construction

This class is reference-counted. You can create a new instance using Resource::new_gd().

Implementations§

§

impl Resource

pub fn set_path(&mut self, path: impl AsArg<GString>)

pub fn take_over_path(&mut self, path: impl AsArg<GString>)

pub fn get_path(&self) -> GString

pub fn set_name(&mut self, name: impl AsArg<GString>)

pub fn get_name(&self) -> GString

pub fn get_rid(&self) -> Rid

pub fn set_local_to_scene(&mut self, enable: bool)

pub fn is_local_to_scene(&self) -> bool

pub fn get_local_scene(&self) -> Option<Gd<Node>>

pub fn setup_local_to_scene(&mut self)

pub fn generate_scene_unique_id() -> GString

pub fn set_scene_unique_id(&mut self, id: impl AsArg<GString>)

pub fn get_scene_unique_id(&self) -> GString

pub fn emit_changed(&mut self)

pub fn duplicate(&self) -> Option<Gd<Resource>>

To set the default parameters, use Self::duplicate_ex and its builder methods. See the book for detailed usage instructions.

pub fn duplicate_ex<'a>(&'a self) -> ExDuplicate<'a>

Methods from Deref<Target = RefCounted>§

pub fn get_reference_count(&self) -> i32

Methods from Deref<Target = Object>§

pub fn get_class(&self) -> GString

pub fn is_class(&self, class: impl AsArg<GString>) -> bool

pub fn set(&mut self, property: impl AsArg<StringName>, value: &Variant)

pub fn get(&self, property: impl AsArg<StringName>) -> Variant

pub fn set_indexed( &mut self, property_path: impl AsArg<NodePath>, value: &Variant, )

pub fn get_indexed(&self, property_path: impl AsArg<NodePath>) -> Variant

pub fn get_property_list(&self) -> Array<Dictionary>

pub fn get_method_list(&self) -> Array<Dictionary>

pub fn property_can_revert(&self, property: impl AsArg<StringName>) -> bool

pub fn property_get_revert(&self, property: impl AsArg<StringName>) -> Variant

pub fn set_script(&mut self, script: &Variant)

pub fn get_script(&self) -> Variant

pub fn set_meta(&mut self, name: impl AsArg<StringName>, value: &Variant)

pub fn remove_meta(&mut self, name: impl AsArg<StringName>)

pub fn get_meta(&self, name: impl AsArg<StringName>) -> Variant

To set the default parameters, use Self::get_meta_ex and its builder methods. See the book for detailed usage instructions.

pub fn get_meta_ex<'a>( &'a self, name: impl AsArg<StringName> + 'a, ) -> ExGetMeta<'a>

pub fn has_meta(&self, name: impl AsArg<StringName>) -> bool

pub fn get_meta_list(&self) -> Array<StringName>

pub fn add_user_signal(&mut self, signal: impl AsArg<GString>)

To set the default parameters, use Self::add_user_signal_ex and its builder methods. See the book for detailed usage instructions.

pub fn add_user_signal_ex<'a>( &'a mut self, signal: impl AsArg<GString> + 'a, ) -> ExAddUserSignal<'a>

pub fn has_user_signal(&self, signal: impl AsArg<StringName>) -> bool

pub fn remove_user_signal(&mut self, signal: impl AsArg<StringName>)

pub fn emit_signal( &mut self, signal: impl AsArg<StringName>, varargs: &[Variant], ) -> Error

§Panics

This is a varcall method, meaning parameters and return values are passed as Variant. It can detect call failures and will panic in such a case.

pub fn try_emit_signal( &mut self, signal: impl AsArg<StringName>, varargs: &[Variant], ) -> Result<Error, CallError>

§Return type

This is a varcall method, meaning parameters and return values are passed as Variant. It can detect call failures and will return Err in such a case.

pub fn call( &mut self, method: impl AsArg<StringName>, varargs: &[Variant], ) -> Variant

§Panics

This is a varcall method, meaning parameters and return values are passed as Variant. It can detect call failures and will panic in such a case.

pub fn try_call( &mut self, method: impl AsArg<StringName>, varargs: &[Variant], ) -> Result<Variant, CallError>

§Return type

This is a varcall method, meaning parameters and return values are passed as Variant. It can detect call failures and will return Err in such a case.

pub fn call_deferred( &mut self, method: impl AsArg<StringName>, varargs: &[Variant], ) -> Variant

§Panics

This is a varcall method, meaning parameters and return values are passed as Variant. It can detect call failures and will panic in such a case.

pub fn try_call_deferred( &mut self, method: impl AsArg<StringName>, varargs: &[Variant], ) -> Result<Variant, CallError>

§Return type

This is a varcall method, meaning parameters and return values are passed as Variant. It can detect call failures and will return Err in such a case.

pub fn set_deferred( &mut self, property: impl AsArg<StringName>, value: &Variant, )

pub fn callv( &mut self, method: impl AsArg<StringName>, arg_array: &Array<Variant>, ) -> Variant

pub fn has_method(&self, method: impl AsArg<StringName>) -> bool

pub fn get_method_argument_count(&self, method: impl AsArg<StringName>) -> i32

pub fn has_signal(&self, signal: impl AsArg<StringName>) -> bool

pub fn get_signal_list(&self) -> Array<Dictionary>

pub fn get_signal_connection_list( &self, signal: impl AsArg<StringName>, ) -> Array<Dictionary>

pub fn get_incoming_connections(&self) -> Array<Dictionary>

pub fn connect( &mut self, signal: impl AsArg<StringName>, callable: &Callable, ) -> Error

To set the default parameters, use Self::connect_ex and its builder methods. See the book for detailed usage instructions.

pub fn connect_ex<'a>( &'a mut self, signal: impl AsArg<StringName> + 'a, callable: &'a Callable, ) -> ExConnect<'a>

pub fn disconnect( &mut self, signal: impl AsArg<StringName>, callable: &Callable, )

pub fn is_connected( &self, signal: impl AsArg<StringName>, callable: &Callable, ) -> bool

pub fn set_block_signals(&mut self, enable: bool)

pub fn is_blocking_signals(&self) -> bool

pub fn notify_property_list_changed(&mut self)

pub fn set_message_translation(&mut self, enable: bool)

pub fn can_translate_messages(&self) -> bool

pub fn tr(&self, message: impl AsArg<StringName>) -> GString

To set the default parameters, use Self::tr_ex and its builder methods. See the book for detailed usage instructions.

pub fn tr_ex<'a>(&'a self, message: impl AsArg<StringName> + 'a) -> ExTr<'a>

pub fn tr_n( &self, message: impl AsArg<StringName>, plural_message: impl AsArg<StringName>, n: i32, ) -> GString

To set the default parameters, use Self::tr_n_ex and its builder methods. See the book for detailed usage instructions.

pub fn tr_n_ex<'a>( &'a self, message: impl AsArg<StringName> + 'a, plural_message: impl AsArg<StringName> + 'a, n: i32, ) -> ExTrN<'a>

pub fn is_queued_for_deletion(&self) -> bool

pub fn cancel_free(&mut self)

pub fn notify(&mut self, what: ObjectNotification)

⚠️ Sends a Godot notification to all classes inherited by the object.

Triggers calls to on_notification(), and depending on the notification, also to Godot’s lifecycle callbacks such as ready().

Starts from the highest ancestor (the Object class) and goes down the hierarchy. See also Godot docs for Object::notification().

§Panics

If you call this method on a user-defined object while holding a GdRef or GdMut guard on the instance, you will encounter a panic. The reason is that the receiving virtual method on_notification() acquires a GdMut lock dynamically, which must be exclusive.

pub fn notify_reversed(&mut self, what: ObjectNotification)

⚠️ Like Self::notify(), but starts at the most-derived class and goes up the hierarchy.

See docs of that method, including the panics.

Trait Implementations§

§

impl Bounds for Resource

§

type Memory = MemRefCounted

Defines the memory strategy of the static type.
§

type Declarer = DeclEngine

Whether this class is a core Godot class provided by the engine, or declared by the user as a Rust struct.
§

impl Debug for Resource

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Deref for Resource

§

type Target = RefCounted

The resulting type after dereferencing.
§

fn deref(&self) -> &<Resource as Deref>::Target

Dereferences the value.
§

impl DerefMut for Resource

§

fn deref_mut(&mut self) -> &mut <Resource as Deref>::Target

Mutably dereferences the value.
§

impl GodotClass for Resource

§

const INIT_LEVEL: InitLevel = crate::init::InitLevel::Scene

Initialization level, during which this class should be initialized with Godot. Read more
§

type Base = RefCounted

The immediate superclass of T. This is always a Godot engine class.
§

fn class_name() -> ClassName

The name of the class, under which it is registered in Godot. Read more
§

fn inherits<U>() -> bool
where U: GodotClass,

Returns whether Self inherits from U. Read more
§

impl GodotDefault for Resource

§

impl Inherits<Object> for Resource

§

impl Inherits<RefCounted> for Resource

§

impl Inherits<Resource> for AnimatedTexture

§

impl Inherits<Resource> for Animation

§

impl Inherits<Resource> for AnimationLibrary

§

impl Inherits<Resource> for AnimationNode

§

impl Inherits<Resource> for AnimationNodeAdd2

§

impl Inherits<Resource> for AnimationNodeAdd3

§

impl Inherits<Resource> for AnimationNodeAnimation

§

impl Inherits<Resource> for AnimationNodeBlend2

§

impl Inherits<Resource> for AnimationNodeBlend3

§

impl Inherits<Resource> for AnimationNodeBlendSpace1D

§

impl Inherits<Resource> for AnimationNodeBlendSpace2D

§

impl Inherits<Resource> for AnimationNodeBlendTree

§

impl Inherits<Resource> for AnimationNodeOneShot

§

impl Inherits<Resource> for AnimationNodeOutput

§

impl Inherits<Resource> for AnimationNodeStateMachine

§

impl Inherits<Resource> for AnimationNodeStateMachinePlayback

§

impl Inherits<Resource> for AnimationNodeStateMachineTransition

§

impl Inherits<Resource> for AnimationNodeSub2

§

impl Inherits<Resource> for AnimationNodeSync

§

impl Inherits<Resource> for AnimationNodeTimeScale

§

impl Inherits<Resource> for AnimationNodeTimeSeek

§

impl Inherits<Resource> for AnimationNodeTransition

§

impl Inherits<Resource> for AnimationRootNode

§

impl Inherits<Resource> for ArrayMesh

§

impl Inherits<Resource> for ArrayOccluder3D

§

impl Inherits<Resource> for AtlasTexture

§

impl Inherits<Resource> for AudioBusLayout

§

impl Inherits<Resource> for AudioEffect

§

impl Inherits<Resource> for AudioEffectAmplify

§

impl Inherits<Resource> for AudioEffectBandLimitFilter

§

impl Inherits<Resource> for AudioEffectBandPassFilter

§

impl Inherits<Resource> for AudioEffectCapture

§

impl Inherits<Resource> for AudioEffectChorus

§

impl Inherits<Resource> for AudioEffectCompressor

§

impl Inherits<Resource> for AudioEffectDelay

§

impl Inherits<Resource> for AudioEffectDistortion

§

impl Inherits<Resource> for AudioEffectEq

§

impl Inherits<Resource> for AudioEffectEq10

§

impl Inherits<Resource> for AudioEffectEq21

§

impl Inherits<Resource> for AudioEffectEq6

§

impl Inherits<Resource> for AudioEffectFilter

§

impl Inherits<Resource> for AudioEffectHardLimiter

§

impl Inherits<Resource> for AudioEffectHighPassFilter

§

impl Inherits<Resource> for AudioEffectHighShelfFilter

§

impl Inherits<Resource> for AudioEffectLimiter

§

impl Inherits<Resource> for AudioEffectLowPassFilter

§

impl Inherits<Resource> for AudioEffectLowShelfFilter

§

impl Inherits<Resource> for AudioEffectNotchFilter

§

impl Inherits<Resource> for AudioEffectPanner

§

impl Inherits<Resource> for AudioEffectPhaser

§

impl Inherits<Resource> for AudioEffectPitchShift

§

impl Inherits<Resource> for AudioEffectRecord

§

impl Inherits<Resource> for AudioEffectReverb

§

impl Inherits<Resource> for AudioEffectSpectrumAnalyzer

§

impl Inherits<Resource> for AudioEffectStereoEnhance

§

impl Inherits<Resource> for AudioStream

§

impl Inherits<Resource> for AudioStreamGenerator

§

impl Inherits<Resource> for AudioStreamInteractive

§

impl Inherits<Resource> for AudioStreamMicrophone

§

impl Inherits<Resource> for AudioStreamMp3

§

impl Inherits<Resource> for AudioStreamOggVorbis

§

impl Inherits<Resource> for AudioStreamPlaylist

§

impl Inherits<Resource> for AudioStreamPolyphonic

§

impl Inherits<Resource> for AudioStreamRandomizer

§

impl Inherits<Resource> for AudioStreamSynchronized

§

impl Inherits<Resource> for AudioStreamWav

§

impl Inherits<Resource> for BaseMaterial3D

§

impl Inherits<Resource> for BitMap

§

impl Inherits<Resource> for BoneMap

§

impl Inherits<Resource> for BoxMesh

§

impl Inherits<Resource> for BoxOccluder3D

§

impl Inherits<Resource> for BoxShape3D

§

impl Inherits<Resource> for ButtonGroup

§

impl Inherits<Resource> for CameraAttributes

§

impl Inherits<Resource> for CameraAttributesPhysical

§

impl Inherits<Resource> for CameraAttributesPractical

§

impl Inherits<Resource> for CameraTexture

§

impl Inherits<Resource> for CanvasItemMaterial

§

impl Inherits<Resource> for CanvasTexture

§

impl Inherits<Resource> for CapsuleMesh

§

impl Inherits<Resource> for CapsuleShape2D

§

impl Inherits<Resource> for CapsuleShape3D

§

impl Inherits<Resource> for CircleShape2D

§

impl Inherits<Resource> for CodeHighlighter

§

impl Inherits<Resource> for Compositor

§

impl Inherits<Resource> for CompositorEffect

§

impl Inherits<Resource> for CompressedCubemap

§

impl Inherits<Resource> for CompressedCubemapArray

§

impl Inherits<Resource> for CompressedTexture2D

§

impl Inherits<Resource> for CompressedTexture2DArray

§

impl Inherits<Resource> for CompressedTexture3D

§

impl Inherits<Resource> for CompressedTextureLayered

§

impl Inherits<Resource> for ConcavePolygonShape2D

§

impl Inherits<Resource> for ConcavePolygonShape3D

§

impl Inherits<Resource> for ConvexPolygonShape2D

§

impl Inherits<Resource> for ConvexPolygonShape3D

§

impl Inherits<Resource> for CryptoKey

§

impl Inherits<Resource> for Cubemap

§

impl Inherits<Resource> for CubemapArray

§

impl Inherits<Resource> for Curve

§

impl Inherits<Resource> for Curve2D

§

impl Inherits<Resource> for Curve3D

§

impl Inherits<Resource> for CurveTexture

§

impl Inherits<Resource> for CurveXyzTexture

§

impl Inherits<Resource> for CylinderMesh

§

impl Inherits<Resource> for CylinderShape3D

§

impl Inherits<Resource> for EditorNode3DGizmoPlugin

§

impl Inherits<Resource> for EditorSettings

§

impl Inherits<Resource> for EditorSyntaxHighlighter

§

impl Inherits<Resource> for Environment

§

impl Inherits<Resource> for FastNoiseLite

§

impl Inherits<Resource> for FbxDocument

§

impl Inherits<Resource> for FbxState

§

impl Inherits<Resource> for FogMaterial

§

impl Inherits<Resource> for Font

§

impl Inherits<Resource> for FontFile

§

impl Inherits<Resource> for FontVariation

§

impl Inherits<Resource> for GDExtension

§

impl Inherits<Resource> for GDScript

§

impl Inherits<Resource> for GltfAccessor

§

impl Inherits<Resource> for GltfAnimation

§

impl Inherits<Resource> for GltfBufferView

§

impl Inherits<Resource> for GltfCamera

§

impl Inherits<Resource> for GltfDocument

§

impl Inherits<Resource> for GltfDocumentExtension

§

impl Inherits<Resource> for GltfDocumentExtensionConvertImporterMesh

§

impl Inherits<Resource> for GltfLight

§

impl Inherits<Resource> for GltfMesh

§

impl Inherits<Resource> for GltfNode

§

impl Inherits<Resource> for GltfPhysicsBody

§

impl Inherits<Resource> for GltfPhysicsShape

§

impl Inherits<Resource> for GltfSkeleton

§

impl Inherits<Resource> for GltfSkin

§

impl Inherits<Resource> for GltfSpecGloss

§

impl Inherits<Resource> for GltfState

§

impl Inherits<Resource> for GltfTexture

§

impl Inherits<Resource> for GltfTextureSampler

§

impl Inherits<Resource> for Gradient

§

impl Inherits<Resource> for GradientTexture1D

§

impl Inherits<Resource> for GradientTexture2D

§

impl Inherits<Resource> for HeightMapShape3D

§

impl Inherits<Resource> for Image

§

impl Inherits<Resource> for ImageTexture

§

impl Inherits<Resource> for ImageTexture3D

§

impl Inherits<Resource> for ImageTextureLayered

§

impl Inherits<Resource> for ImmediateMesh

§

impl Inherits<Resource> for ImporterMesh

§

impl Inherits<Resource> for InputEvent

§

impl Inherits<Resource> for InputEventAction

§

impl Inherits<Resource> for InputEventFromWindow

§

impl Inherits<Resource> for InputEventGesture

§

impl Inherits<Resource> for InputEventJoypadButton

§

impl Inherits<Resource> for InputEventJoypadMotion

§

impl Inherits<Resource> for InputEventKey

§

impl Inherits<Resource> for InputEventMagnifyGesture

§

impl Inherits<Resource> for InputEventMidi

§

impl Inherits<Resource> for InputEventMouse

§

impl Inherits<Resource> for InputEventMouseButton

§

impl Inherits<Resource> for InputEventMouseMotion

§

impl Inherits<Resource> for InputEventPanGesture

§

impl Inherits<Resource> for InputEventScreenDrag

§

impl Inherits<Resource> for InputEventScreenTouch

§

impl Inherits<Resource> for InputEventShortcut

§

impl Inherits<Resource> for InputEventWithModifiers

§

impl Inherits<Resource> for Json

§

impl Inherits<Resource> for LabelSettings

§

impl Inherits<Resource> for LightmapGiData

§

impl Inherits<Resource> for Material

§

impl Inherits<Resource> for Mesh

§

impl Inherits<Resource> for MeshLibrary

§

impl Inherits<Resource> for MeshTexture

§

impl Inherits<Resource> for MissingResource

§

impl Inherits<Resource> for MultiMesh

§

impl Inherits<Resource> for NavigationMesh

§

impl Inherits<Resource> for NavigationMeshSourceGeometryData2D

§

impl Inherits<Resource> for NavigationMeshSourceGeometryData3D

§

impl Inherits<Resource> for NavigationPolygon

§

impl Inherits<Resource> for Noise

§

impl Inherits<Resource> for NoiseTexture2D

§

impl Inherits<Resource> for NoiseTexture3D

§

impl Inherits<Resource> for Occluder3D

§

impl Inherits<Resource> for OccluderPolygon2D

§

impl Inherits<Resource> for OggPacketSequence

§

impl Inherits<Resource> for OpenXrAction

§

impl Inherits<Resource> for OpenXrActionMap

§

impl Inherits<Resource> for OpenXrActionSet

§

impl Inherits<Resource> for OpenXrInteractionProfile

§

impl Inherits<Resource> for OpenXrIpBinding

§

impl Inherits<Resource> for OptimizedTranslation

§

impl Inherits<Resource> for OrmMaterial3D

§

impl Inherits<Resource> for PackedDataContainer

§

impl Inherits<Resource> for PackedScene

§

impl Inherits<Resource> for PanoramaSkyMaterial

§

impl Inherits<Resource> for ParticleProcessMaterial

§

impl Inherits<Resource> for PhysicalSkyMaterial

§

impl Inherits<Resource> for PhysicsMaterial

§

impl Inherits<Resource> for PlaceholderCubemap

§

impl Inherits<Resource> for PlaceholderCubemapArray

§

impl Inherits<Resource> for PlaceholderMaterial

§

impl Inherits<Resource> for PlaceholderMesh

§

impl Inherits<Resource> for PlaceholderTexture2D

§

impl Inherits<Resource> for PlaceholderTexture2DArray

§

impl Inherits<Resource> for PlaceholderTexture3D

§

impl Inherits<Resource> for PlaceholderTextureLayered

§

impl Inherits<Resource> for PlaneMesh

§

impl Inherits<Resource> for PointMesh

§

impl Inherits<Resource> for PolygonOccluder3D

§

impl Inherits<Resource> for PolygonPathFinder

§

impl Inherits<Resource> for PortableCompressedTexture2D

§

impl Inherits<Resource> for PrimitiveMesh

§

impl Inherits<Resource> for PrismMesh

§

impl Inherits<Resource> for ProceduralSkyMaterial

§

impl Inherits<Resource> for QuadMesh

§

impl Inherits<Resource> for QuadOccluder3D

§

impl Inherits<Resource> for RdShaderFile

§

impl Inherits<Resource> for RdShaderSpirv

§

impl Inherits<Resource> for RectangleShape2D

§

impl Inherits<Resource> for RibbonTrailMesh

§

impl Inherits<Resource> for RichTextEffect

§

impl Inherits<Resource> for SceneReplicationConfig

§

impl Inherits<Resource> for Script

§

impl Inherits<Resource> for ScriptExtension

§

impl Inherits<Resource> for SegmentShape2D

§

impl Inherits<Resource> for SeparationRayShape2D

§

impl Inherits<Resource> for SeparationRayShape3D

§

impl Inherits<Resource> for Shader

§

impl Inherits<Resource> for ShaderInclude

§

impl Inherits<Resource> for ShaderMaterial

§

impl Inherits<Resource> for Shape2D

§

impl Inherits<Resource> for Shape3D

§

impl Inherits<Resource> for Shortcut

§

impl Inherits<Resource> for SkeletonModification2D

§

impl Inherits<Resource> for SkeletonModification2DJiggle

§

impl Inherits<Resource> for SkeletonModification2DLookAt

§

impl Inherits<Resource> for SkeletonModification2DPhysicalBones

§

impl Inherits<Resource> for SkeletonModification2DStackHolder

§

impl Inherits<Resource> for SkeletonModification2DTwoBoneIk

§

impl Inherits<Resource> for SkeletonModification2Dccdik

§

impl Inherits<Resource> for SkeletonModification2Dfabrik

§

impl Inherits<Resource> for SkeletonModificationStack2D

§

impl Inherits<Resource> for SkeletonProfile

§

impl Inherits<Resource> for SkeletonProfileHumanoid

§

impl Inherits<Resource> for Skin

§

impl Inherits<Resource> for Sky

§

impl Inherits<Resource> for SphereMesh

§

impl Inherits<Resource> for SphereOccluder3D

§

impl Inherits<Resource> for SphereShape3D

§

impl Inherits<Resource> for SpriteFrames

§

impl Inherits<Resource> for StandardMaterial3D

§

impl Inherits<Resource> for StyleBox

§

impl Inherits<Resource> for StyleBoxEmpty

§

impl Inherits<Resource> for StyleBoxFlat

§

impl Inherits<Resource> for StyleBoxLine

§

impl Inherits<Resource> for StyleBoxTexture

§

impl Inherits<Resource> for SyntaxHighlighter

§

impl Inherits<Resource> for SystemFont

§

impl Inherits<Resource> for TextMesh

§

impl Inherits<Resource> for Texture

§

impl Inherits<Resource> for Texture2D

§

impl Inherits<Resource> for Texture2DArray

§

impl Inherits<Resource> for Texture2DArrayRd

§

impl Inherits<Resource> for Texture2Drd

§

impl Inherits<Resource> for Texture3D

§

impl Inherits<Resource> for Texture3Drd

§

impl Inherits<Resource> for TextureCubemapArrayRd

§

impl Inherits<Resource> for TextureCubemapRd

§

impl Inherits<Resource> for TextureLayered

§

impl Inherits<Resource> for TextureLayeredRd

§

impl Inherits<Resource> for Theme

§

impl Inherits<Resource> for TileMapPattern

§

impl Inherits<Resource> for TileSet

§

impl Inherits<Resource> for TileSetAtlasSource

§

impl Inherits<Resource> for TileSetScenesCollectionSource

§

impl Inherits<Resource> for TileSetSource

§

impl Inherits<Resource> for TorusMesh

§

impl Inherits<Resource> for Translation

§

impl Inherits<Resource> for TubeTrailMesh

§

impl Inherits<Resource> for VideoStream

§

impl Inherits<Resource> for VideoStreamPlayback

§

impl Inherits<Resource> for VideoStreamTheora

§

impl Inherits<Resource> for ViewportTexture

§

impl Inherits<Resource> for VisualShader

§

impl Inherits<Resource> for VisualShaderNode

§

impl Inherits<Resource> for VisualShaderNodeBillboard

§

impl Inherits<Resource> for VisualShaderNodeBooleanConstant

§

impl Inherits<Resource> for VisualShaderNodeBooleanParameter

§

impl Inherits<Resource> for VisualShaderNodeClamp

§

impl Inherits<Resource> for VisualShaderNodeColorConstant

§

impl Inherits<Resource> for VisualShaderNodeColorFunc

§

impl Inherits<Resource> for VisualShaderNodeColorOp

§

impl Inherits<Resource> for VisualShaderNodeColorParameter

§

impl Inherits<Resource> for VisualShaderNodeComment

§

impl Inherits<Resource> for VisualShaderNodeCompare

§

impl Inherits<Resource> for VisualShaderNodeConstant

§

impl Inherits<Resource> for VisualShaderNodeCubemap

§

impl Inherits<Resource> for VisualShaderNodeCubemapParameter

§

impl Inherits<Resource> for VisualShaderNodeCurveTexture

§

impl Inherits<Resource> for VisualShaderNodeCurveXyzTexture

§

impl Inherits<Resource> for VisualShaderNodeCustom

§

impl Inherits<Resource> for VisualShaderNodeDerivativeFunc

§

impl Inherits<Resource> for VisualShaderNodeDeterminant

§

impl Inherits<Resource> for VisualShaderNodeDistanceFade

§

impl Inherits<Resource> for VisualShaderNodeDotProduct

§

impl Inherits<Resource> for VisualShaderNodeExpression

§

impl Inherits<Resource> for VisualShaderNodeFaceForward

§

impl Inherits<Resource> for VisualShaderNodeFloatConstant

§

impl Inherits<Resource> for VisualShaderNodeFloatFunc

§

impl Inherits<Resource> for VisualShaderNodeFloatOp

§

impl Inherits<Resource> for VisualShaderNodeFloatParameter

§

impl Inherits<Resource> for VisualShaderNodeFrame

§

impl Inherits<Resource> for VisualShaderNodeFresnel

§

impl Inherits<Resource> for VisualShaderNodeGlobalExpression

§

impl Inherits<Resource> for VisualShaderNodeGroupBase

§

impl Inherits<Resource> for VisualShaderNodeIf

§

impl Inherits<Resource> for VisualShaderNodeInput

§

impl Inherits<Resource> for VisualShaderNodeIntConstant

§

impl Inherits<Resource> for VisualShaderNodeIntFunc

§

impl Inherits<Resource> for VisualShaderNodeIntOp

§

impl Inherits<Resource> for VisualShaderNodeIntParameter

§

impl Inherits<Resource> for VisualShaderNodeIs

§

impl Inherits<Resource> for VisualShaderNodeLinearSceneDepth

§

impl Inherits<Resource> for VisualShaderNodeMix

§

impl Inherits<Resource> for VisualShaderNodeMultiplyAdd

§

impl Inherits<Resource> for VisualShaderNodeOuterProduct

§

impl Inherits<Resource> for VisualShaderNodeOutput

§

impl Inherits<Resource> for VisualShaderNodeParameter

§

impl Inherits<Resource> for VisualShaderNodeParameterRef

§

impl Inherits<Resource> for VisualShaderNodeParticleAccelerator

§

impl Inherits<Resource> for VisualShaderNodeParticleBoxEmitter

§

impl Inherits<Resource> for VisualShaderNodeParticleConeVelocity

§

impl Inherits<Resource> for VisualShaderNodeParticleEmit

§

impl Inherits<Resource> for VisualShaderNodeParticleEmitter

§

impl Inherits<Resource> for VisualShaderNodeParticleMeshEmitter

§

impl Inherits<Resource> for VisualShaderNodeParticleMultiplyByAxisAngle

§

impl Inherits<Resource> for VisualShaderNodeParticleOutput

§

impl Inherits<Resource> for VisualShaderNodeParticleRandomness

§

impl Inherits<Resource> for VisualShaderNodeParticleRingEmitter

§

impl Inherits<Resource> for VisualShaderNodeParticleSphereEmitter

§

impl Inherits<Resource> for VisualShaderNodeProximityFade

§

impl Inherits<Resource> for VisualShaderNodeRandomRange

§

impl Inherits<Resource> for VisualShaderNodeRemap

§

impl Inherits<Resource> for VisualShaderNodeReroute

§

impl Inherits<Resource> for VisualShaderNodeResizableBase

§

impl Inherits<Resource> for VisualShaderNodeRotationByAxis

§

impl Inherits<Resource> for VisualShaderNodeSample3D

§

impl Inherits<Resource> for VisualShaderNodeScreenNormalWorldSpace

§

impl Inherits<Resource> for VisualShaderNodeScreenUvToSdf

§

impl Inherits<Resource> for VisualShaderNodeSdfRaymarch

§

impl Inherits<Resource> for VisualShaderNodeSdfToScreenUv

§

impl Inherits<Resource> for VisualShaderNodeSmoothStep

§

impl Inherits<Resource> for VisualShaderNodeStep

§

impl Inherits<Resource> for VisualShaderNodeSwitch

§

impl Inherits<Resource> for VisualShaderNodeTexture

§

impl Inherits<Resource> for VisualShaderNodeTexture2DArray

§

impl Inherits<Resource> for VisualShaderNodeTexture2DArrayParameter

§

impl Inherits<Resource> for VisualShaderNodeTexture2DParameter

§

impl Inherits<Resource> for VisualShaderNodeTexture3D

§

impl Inherits<Resource> for VisualShaderNodeTexture3DParameter

§

impl Inherits<Resource> for VisualShaderNodeTextureParameter

§

impl Inherits<Resource> for VisualShaderNodeTextureParameterTriplanar

§

impl Inherits<Resource> for VisualShaderNodeTextureSdf

§

impl Inherits<Resource> for VisualShaderNodeTextureSdfNormal

§

impl Inherits<Resource> for VisualShaderNodeTransformCompose

§

impl Inherits<Resource> for VisualShaderNodeTransformConstant

§

impl Inherits<Resource> for VisualShaderNodeTransformDecompose

§

impl Inherits<Resource> for VisualShaderNodeTransformFunc

§

impl Inherits<Resource> for VisualShaderNodeTransformOp

§

impl Inherits<Resource> for VisualShaderNodeTransformParameter

§

impl Inherits<Resource> for VisualShaderNodeTransformVecMult

§

impl Inherits<Resource> for VisualShaderNodeUIntConstant

§

impl Inherits<Resource> for VisualShaderNodeUIntFunc

§

impl Inherits<Resource> for VisualShaderNodeUIntOp

§

impl Inherits<Resource> for VisualShaderNodeUIntParameter

§

impl Inherits<Resource> for VisualShaderNodeUvFunc

§

impl Inherits<Resource> for VisualShaderNodeUvPolarCoord

§

impl Inherits<Resource> for VisualShaderNodeVarying

§

impl Inherits<Resource> for VisualShaderNodeVaryingGetter

§

impl Inherits<Resource> for VisualShaderNodeVaryingSetter

§

impl Inherits<Resource> for VisualShaderNodeVec2Constant

§

impl Inherits<Resource> for VisualShaderNodeVec2Parameter

§

impl Inherits<Resource> for VisualShaderNodeVec3Constant

§

impl Inherits<Resource> for VisualShaderNodeVec3Parameter

§

impl Inherits<Resource> for VisualShaderNodeVec4Constant

§

impl Inherits<Resource> for VisualShaderNodeVec4Parameter

§

impl Inherits<Resource> for VisualShaderNodeVectorBase

§

impl Inherits<Resource> for VisualShaderNodeVectorCompose

§

impl Inherits<Resource> for VisualShaderNodeVectorDecompose

§

impl Inherits<Resource> for VisualShaderNodeVectorDistance

§

impl Inherits<Resource> for VisualShaderNodeVectorFunc

§

impl Inherits<Resource> for VisualShaderNodeVectorLen

§

impl Inherits<Resource> for VisualShaderNodeVectorOp

§

impl Inherits<Resource> for VisualShaderNodeVectorRefract

§

impl Inherits<Resource> for VisualShaderNodeWorldPositionFromDepth

§

impl Inherits<Resource> for VoxelGiData

§

impl Inherits<Resource> for World2D

§

impl Inherits<Resource> for World3D

§

impl Inherits<Resource> for WorldBoundaryShape2D

§

impl Inherits<Resource> for WorldBoundaryShape3D

§

impl Inherits<Resource> for X509Certificate

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> NewGd for T
where T: GodotDefault<Memory = MemRefCounted> + Bounds,

§

fn new_gd() -> Gd<T>

Return a new, ref-counted Gd containing a default-constructed instance. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Inherits<T> for T
where T: GodotClass,