pub struct MaterialSpringSample {
pub value: f64,
pub velocity: f64,
}Expand description
The position and velocity of a spring. Velocity is measured in value units per second.
Fields§
§value: f64§velocity: f64Trait Implementations§
Source§impl Clone for MaterialSpringSample
impl Clone for MaterialSpringSample
impl Copy for MaterialSpringSample
Source§impl Debug for MaterialSpringSample
impl Debug for MaterialSpringSample
Source§impl Default for MaterialSpringSample
impl Default for MaterialSpringSample
Source§impl PartialEq for MaterialSpringSample
impl PartialEq for MaterialSpringSample
impl StructuralPartialEq for MaterialSpringSample
Auto Trait Implementations§
impl Freeze for MaterialSpringSample
impl RefUnwindSafe for MaterialSpringSample
impl Send for MaterialSpringSample
impl Sync for MaterialSpringSample
impl Unpin for MaterialSpringSample
impl UnsafeUnpin for MaterialSpringSample
impl UnwindSafe for MaterialSpringSample
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more