pub struct GravityCenter {
pub weighted_urgency: f64,
pub weighted_priority: f64,
pub weighted_momentum: f64,
}Fields§
§weighted_urgency: f64§weighted_priority: f64§weighted_momentum: f64Trait Implementations§
Source§impl Clone for GravityCenter
impl Clone for GravityCenter
Source§fn clone(&self) -> GravityCenter
fn clone(&self) -> GravityCenter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GravityCenter
impl Debug for GravityCenter
Source§impl<'de> Deserialize<'de> for GravityCenter
impl<'de> Deserialize<'de> for GravityCenter
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GravityCenter
impl RefUnwindSafe for GravityCenter
impl Send for GravityCenter
impl Sync for GravityCenter
impl Unpin for GravityCenter
impl UnsafeUnpin for GravityCenter
impl UnwindSafe for GravityCenter
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