Struct godot::engine::rendering_server::LightDirectionalSkyMode
pub struct LightDirectionalSkyMode { /* private fields */ }
Implementations§
§impl LightDirectionalSkyMode
impl LightDirectionalSkyMode
pub const LIGHT_AND_SKY: LightDirectionalSkyMode = _
pub const LIGHT_AND_SKY: LightDirectionalSkyMode = _
Godot enumerator name: LIGHT_DIRECTIONAL_SKY_MODE_LIGHT_AND_SKY
pub const LIGHT_ONLY: LightDirectionalSkyMode = _
pub const LIGHT_ONLY: LightDirectionalSkyMode = _
Godot enumerator name: LIGHT_DIRECTIONAL_SKY_MODE_LIGHT_ONLY
pub const SKY_ONLY: LightDirectionalSkyMode = _
pub const SKY_ONLY: LightDirectionalSkyMode = _
Godot enumerator name: LIGHT_DIRECTIONAL_SKY_MODE_SKY_ONLY
Trait Implementations§
§impl Clone for LightDirectionalSkyMode
impl Clone for LightDirectionalSkyMode
§fn clone(&self) -> LightDirectionalSkyMode
fn clone(&self) -> LightDirectionalSkyMode
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 LightDirectionalSkyMode
impl Debug for LightDirectionalSkyMode
§impl EngineEnum for LightDirectionalSkyMode
impl EngineEnum for LightDirectionalSkyMode
§impl FromGodot for LightDirectionalSkyMode
impl FromGodot for LightDirectionalSkyMode
§fn try_from_godot(
via: <LightDirectionalSkyMode as GodotConvert>::Via
) -> Result<LightDirectionalSkyMode, ConvertError>
fn try_from_godot( via: <LightDirectionalSkyMode as GodotConvert>::Via ) -> Result<LightDirectionalSkyMode, ConvertError>
Performs the conversion.
§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
⚠️ Performs the conversion. 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
.§fn from_variant(variant: &Variant) -> Self
fn from_variant(variant: &Variant) -> Self
§impl GodotConvert for LightDirectionalSkyMode
impl GodotConvert for LightDirectionalSkyMode
§impl Hash for LightDirectionalSkyMode
impl Hash for LightDirectionalSkyMode
§impl PartialEq for LightDirectionalSkyMode
impl PartialEq for LightDirectionalSkyMode
§fn eq(&self, other: &LightDirectionalSkyMode) -> bool
fn eq(&self, other: &LightDirectionalSkyMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl ToGodot for LightDirectionalSkyMode
impl ToGodot for LightDirectionalSkyMode
§fn to_godot(&self) -> <LightDirectionalSkyMode as GodotConvert>::Via
fn to_godot(&self) -> <LightDirectionalSkyMode 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 LightDirectionalSkyMode
impl Eq for LightDirectionalSkyMode
impl StructuralPartialEq for LightDirectionalSkyMode
Auto Trait Implementations§
impl Freeze for LightDirectionalSkyMode
impl RefUnwindSafe for LightDirectionalSkyMode
impl Send for LightDirectionalSkyMode
impl Sync for LightDirectionalSkyMode
impl Unpin for LightDirectionalSkyMode
impl UnwindSafe for LightDirectionalSkyMode
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