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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)