Struct BodyParameter
pub struct BodyParameter { /* private fields */ }
Implementations§
§impl BodyParameter
impl BodyParameter
pub const BOUNCE: BodyParameter = _
pub const BOUNCE: BodyParameter = _
Godot enumerator name: BODY_PARAM_BOUNCE
pub const FRICTION: BodyParameter = _
pub const FRICTION: BodyParameter = _
Godot enumerator name: BODY_PARAM_FRICTION
pub const MASS: BodyParameter = _
pub const MASS: BodyParameter = _
Godot enumerator name: BODY_PARAM_MASS
pub const INERTIA: BodyParameter = _
pub const INERTIA: BodyParameter = _
Godot enumerator name: BODY_PARAM_INERTIA
pub const CENTER_OF_MASS: BodyParameter = _
pub const CENTER_OF_MASS: BodyParameter = _
Godot enumerator name: BODY_PARAM_CENTER_OF_MASS
pub const GRAVITY_SCALE: BodyParameter = _
pub const GRAVITY_SCALE: BodyParameter = _
Godot enumerator name: BODY_PARAM_GRAVITY_SCALE
pub const LINEAR_DAMP_MODE: BodyParameter = _
pub const LINEAR_DAMP_MODE: BodyParameter = _
Godot enumerator name: BODY_PARAM_LINEAR_DAMP_MODE
pub const ANGULAR_DAMP_MODE: BodyParameter = _
pub const ANGULAR_DAMP_MODE: BodyParameter = _
Godot enumerator name: BODY_PARAM_ANGULAR_DAMP_MODE
pub const LINEAR_DAMP: BodyParameter = _
pub const LINEAR_DAMP: BodyParameter = _
Godot enumerator name: BODY_PARAM_LINEAR_DAMP
pub const ANGULAR_DAMP: BodyParameter = _
pub const ANGULAR_DAMP: BodyParameter = _
Godot enumerator name: BODY_PARAM_ANGULAR_DAMP
pub const MAX: BodyParameter = _
pub const MAX: BodyParameter = _
Godot enumerator name: BODY_PARAM_MAX
Trait Implementations§
§impl Clone for BodyParameter
impl Clone for BodyParameter
§fn clone(&self) -> BodyParameter
fn clone(&self) -> BodyParameter
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 BodyParameter
impl Debug for BodyParameter
§impl EngineEnum for BodyParameter
impl EngineEnum for BodyParameter
§impl FromGodot for BodyParameter
impl FromGodot for BodyParameter
§fn try_from_godot(
via: <BodyParameter as GodotConvert>::Via,
) -> Result<BodyParameter, ConvertError>
fn try_from_godot( via: <BodyParameter as GodotConvert>::Via, ) -> Result<BodyParameter, 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 BodyParameter
impl GodotConvert for BodyParameter
§impl Hash for BodyParameter
impl Hash for BodyParameter
§impl IndexEnum for BodyParameter
impl IndexEnum for BodyParameter
§impl PartialEq for BodyParameter
impl PartialEq for BodyParameter
§impl ToGodot for BodyParameter
impl ToGodot for BodyParameter
impl Copy for BodyParameter
impl Eq for BodyParameter
impl StructuralPartialEq for BodyParameter
Auto Trait Implementations§
impl Freeze for BodyParameter
impl RefUnwindSafe for BodyParameter
impl Send for BodyParameter
impl Sync for BodyParameter
impl Unpin for BodyParameter
impl UnwindSafe for BodyParameter
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