Struct godot::classes::physics_server_3d::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
§fn eq(&self, other: &BodyParameter) -> bool
fn eq(&self, other: &BodyParameter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl ToGodot for BodyParameter
impl ToGodot for BodyParameter
§fn to_godot(&self) -> <BodyParameter as GodotConvert>::Via
fn to_godot(&self) -> <BodyParameter 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)