Struct TransitionType
pub struct TransitionType { /* private fields */ }
Implementations§
§impl TransitionType
impl TransitionType
pub const LINEAR: TransitionType
pub const LINEAR: TransitionType
Godot enumerator name: TRANS_LINEAR
pub const SINE: TransitionType
pub const SINE: TransitionType
Godot enumerator name: TRANS_SINE
pub const QUINT: TransitionType
pub const QUINT: TransitionType
Godot enumerator name: TRANS_QUINT
pub const QUART: TransitionType
pub const QUART: TransitionType
Godot enumerator name: TRANS_QUART
pub const QUAD: TransitionType
pub const QUAD: TransitionType
Godot enumerator name: TRANS_QUAD
pub const EXPO: TransitionType
pub const EXPO: TransitionType
Godot enumerator name: TRANS_EXPO
pub const ELASTIC: TransitionType
pub const ELASTIC: TransitionType
Godot enumerator name: TRANS_ELASTIC
pub const CUBIC: TransitionType
pub const CUBIC: TransitionType
Godot enumerator name: TRANS_CUBIC
pub const CIRC: TransitionType
pub const CIRC: TransitionType
Godot enumerator name: TRANS_CIRC
pub const BOUNCE: TransitionType
pub const BOUNCE: TransitionType
Godot enumerator name: TRANS_BOUNCE
pub const BACK: TransitionType
pub const BACK: TransitionType
Godot enumerator name: TRANS_BACK
pub const SPRING: TransitionType
pub const SPRING: TransitionType
Godot enumerator name: TRANS_SPRING
Trait Implementations§
§impl Clone for TransitionType
impl Clone for TransitionType
§fn clone(&self) -> TransitionType
fn clone(&self) -> TransitionType
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 TransitionType
impl Debug for TransitionType
§impl EngineEnum for TransitionType
impl EngineEnum for TransitionType
§impl FromGodot for TransitionType
impl FromGodot for TransitionType
§fn try_from_godot(
via: <TransitionType as GodotConvert>::Via,
) -> Result<TransitionType, ConvertError>
fn try_from_godot( via: <TransitionType as GodotConvert>::Via, ) -> Result<TransitionType, 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 TransitionType
impl GodotConvert for TransitionType
§impl Hash for TransitionType
impl Hash for TransitionType
§impl PartialEq for TransitionType
impl PartialEq for TransitionType
§impl ToGodot for TransitionType
impl ToGodot for TransitionType
impl Copy for TransitionType
impl Eq for TransitionType
impl StructuralPartialEq for TransitionType
Auto Trait Implementations§
impl Freeze for TransitionType
impl RefUnwindSafe for TransitionType
impl Send for TransitionType
impl Sync for TransitionType
impl Unpin for TransitionType
impl UnwindSafe for TransitionType
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