pub struct FuelScoopEvent {
pub scooped: f32,
pub total: f32,
}
Expand description
Fired when the player is fuel scooping.
Fields§
§scooped: f32
The number of tonnes scooped.
total: f32
The total number of tonnes in the player’s fuel tank.
Trait Implementations§
Source§impl Clone for FuelScoopEvent
impl Clone for FuelScoopEvent
Source§fn clone(&self) -> FuelScoopEvent
fn clone(&self) -> FuelScoopEvent
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 moreSource§impl Debug for FuelScoopEvent
impl Debug for FuelScoopEvent
Source§impl<'de> Deserialize<'de> for FuelScoopEvent
impl<'de> Deserialize<'de> for FuelScoopEvent
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
Source§impl PartialEq for FuelScoopEvent
impl PartialEq for FuelScoopEvent
Source§impl Serialize for FuelScoopEvent
impl Serialize for FuelScoopEvent
impl StructuralPartialEq for FuelScoopEvent
Auto Trait Implementations§
impl Freeze for FuelScoopEvent
impl RefUnwindSafe for FuelScoopEvent
impl Send for FuelScoopEvent
impl Sync for FuelScoopEvent
impl Unpin for FuelScoopEvent
impl UnwindSafe for FuelScoopEvent
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