Struct EnvironmentReflectionSource
pub struct EnvironmentReflectionSource { /* private fields */ }Implementations§
§impl EnvironmentReflectionSource
impl EnvironmentReflectionSource
pub const BG: EnvironmentReflectionSource
pub const BG: EnvironmentReflectionSource
Godot enumerator name: ENV_REFLECTION_SOURCE_BG
pub const DISABLED: EnvironmentReflectionSource
pub const DISABLED: EnvironmentReflectionSource
Godot enumerator name: ENV_REFLECTION_SOURCE_DISABLED
pub const SKY: EnvironmentReflectionSource
pub const SKY: EnvironmentReflectionSource
Godot enumerator name: ENV_REFLECTION_SOURCE_SKY
Trait Implementations§
§impl Clone for EnvironmentReflectionSource
impl Clone for EnvironmentReflectionSource
§fn clone(&self) -> EnvironmentReflectionSource
fn clone(&self) -> EnvironmentReflectionSource
Returns a duplicate 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 EnvironmentReflectionSource
impl Debug for EnvironmentReflectionSource
§impl EngineEnum for EnvironmentReflectionSource
impl EngineEnum for EnvironmentReflectionSource
fn try_from_ord(ord: i32) -> Option<EnvironmentReflectionSource>
§fn ord(self) -> i32
fn ord(self) -> i32
Ordinal value of the enumerator, as specified in Godot.
This is not necessarily unique.
§fn values() -> &'static [EnvironmentReflectionSource]
fn values() -> &'static [EnvironmentReflectionSource]
Returns a slice of distinct enum values. Read more
§fn all_constants() -> &'static [EnumConstant<EnvironmentReflectionSource>]
fn all_constants() -> &'static [EnumConstant<EnvironmentReflectionSource>]
Returns metadata for all enum constants. Read more
fn from_ord(ord: i32) -> Self
§impl Export for EnvironmentReflectionSource
impl Export for EnvironmentReflectionSource
§fn export_hint() -> PropertyHintInfo
fn export_hint() -> PropertyHintInfo
The export info to use for an exported field of this type, if no other export info is specified.
§impl FromGodot for EnvironmentReflectionSource
impl FromGodot for EnvironmentReflectionSource
§fn try_from_godot(
via: <EnvironmentReflectionSource as GodotConvert>::Via,
) -> Result<EnvironmentReflectionSource, ConvertError>
fn try_from_godot( via: <EnvironmentReflectionSource as GodotConvert>::Via, ) -> Result<EnvironmentReflectionSource, 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 EnvironmentReflectionSource
impl GodotConvert for EnvironmentReflectionSource
§impl Hash for EnvironmentReflectionSource
impl Hash for EnvironmentReflectionSource
§impl PartialEq for EnvironmentReflectionSource
impl PartialEq for EnvironmentReflectionSource
§impl ToGodot for EnvironmentReflectionSource
impl ToGodot for EnvironmentReflectionSource
§fn to_godot(&self) -> <EnvironmentReflectionSource as GodotConvert>::Via
fn to_godot(&self) -> <EnvironmentReflectionSource as GodotConvert>::Via
Converts this type to Godot representation, optimizing for zero-copy when possible. Read more
§fn to_godot_owned(&self) -> Self::Via
fn to_godot_owned(&self) -> Self::Via
Converts this type to owned Godot representation. Read more
§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Converts this type to a Variant.
§impl Var for EnvironmentReflectionSource
impl Var for EnvironmentReflectionSource
fn get_property(&self) -> <EnvironmentReflectionSource as GodotConvert>::Via
fn set_property( &mut self, value: <EnvironmentReflectionSource as GodotConvert>::Via, )
§fn var_hint() -> PropertyHintInfo
fn var_hint() -> PropertyHintInfo
Specific property hints, only override if they deviate from
GodotType::property_info, e.g. for enums/newtypes.impl Copy for EnvironmentReflectionSource
impl Eq for EnvironmentReflectionSource
impl StructuralPartialEq for EnvironmentReflectionSource
Auto Trait Implementations§
impl Freeze for EnvironmentReflectionSource
impl RefUnwindSafe for EnvironmentReflectionSource
impl Send for EnvironmentReflectionSource
impl Sync for EnvironmentReflectionSource
impl Unpin for EnvironmentReflectionSource
impl UnwindSafe for EnvironmentReflectionSource
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