Struct EffectCallbackType
pub struct EffectCallbackType { /* private fields */ }Available on crate feature
experimental-godot-api only.Implementations§
§impl EffectCallbackType
impl EffectCallbackType
pub const PRE_OPAQUE: EffectCallbackType
pub const PRE_OPAQUE: EffectCallbackType
Godot enumerator name: EFFECT_CALLBACK_TYPE_PRE_OPAQUE
pub const POST_OPAQUE: EffectCallbackType
pub const POST_OPAQUE: EffectCallbackType
Godot enumerator name: EFFECT_CALLBACK_TYPE_POST_OPAQUE
pub const POST_SKY: EffectCallbackType
pub const POST_SKY: EffectCallbackType
Godot enumerator name: EFFECT_CALLBACK_TYPE_POST_SKY
pub const PRE_TRANSPARENT: EffectCallbackType
pub const PRE_TRANSPARENT: EffectCallbackType
Godot enumerator name: EFFECT_CALLBACK_TYPE_PRE_TRANSPARENT
pub const POST_TRANSPARENT: EffectCallbackType
pub const POST_TRANSPARENT: EffectCallbackType
Godot enumerator name: EFFECT_CALLBACK_TYPE_POST_TRANSPARENT
pub const MAX: EffectCallbackType
pub const MAX: EffectCallbackType
Godot enumerator name: EFFECT_CALLBACK_TYPE_MAX
Trait Implementations§
§impl Clone for EffectCallbackType
impl Clone for EffectCallbackType
§fn clone(&self) -> EffectCallbackType
fn clone(&self) -> EffectCallbackType
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 EffectCallbackType
impl Debug for EffectCallbackType
§impl EngineEnum for EffectCallbackType
impl EngineEnum for EffectCallbackType
fn try_from_ord(ord: i32) -> Option<EffectCallbackType>
§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 [EffectCallbackType]
fn values() -> &'static [EffectCallbackType]
Returns a slice of distinct enum values. Read more
§fn all_constants() -> &'static [EnumConstant<EffectCallbackType>]
fn all_constants() -> &'static [EnumConstant<EffectCallbackType>]
Returns metadata for all enum constants. Read more
fn from_ord(ord: i32) -> Self
§impl FromGodot for EffectCallbackType
impl FromGodot for EffectCallbackType
§fn try_from_godot(
via: <EffectCallbackType as GodotConvert>::Via,
) -> Result<EffectCallbackType, ConvertError>
fn try_from_godot( via: <EffectCallbackType as GodotConvert>::Via, ) -> Result<EffectCallbackType, 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 EffectCallbackType
impl GodotConvert for EffectCallbackType
§impl Hash for EffectCallbackType
impl Hash for EffectCallbackType
§impl IndexEnum for EffectCallbackType
impl IndexEnum for EffectCallbackType
§impl PartialEq for EffectCallbackType
impl PartialEq for EffectCallbackType
§impl ToGodot for EffectCallbackType
impl ToGodot for EffectCallbackType
§fn to_godot(&self) -> <EffectCallbackType as GodotConvert>::Via
fn to_godot(&self) -> <EffectCallbackType 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 Copy for EffectCallbackType
impl Eq for EffectCallbackType
impl StructuralPartialEq for EffectCallbackType
Auto Trait Implementations§
impl Freeze for EffectCallbackType
impl RefUnwindSafe for EffectCallbackType
impl Send for EffectCallbackType
impl Sync for EffectCallbackType
impl Unpin for EffectCallbackType
impl UnwindSafe for EffectCallbackType
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