pub struct OnPlayerFlushedFluidEvent {
pub amount: f64,
pub entity: LuaEntity,
pub fluid: &'static str,
pub name: &'static str,
pub only_this_entity: bool,
pub player_index: u32,
pub tick: u32,
}Expand description
Called after player flushed fluid
Fields§
§amount: f64§entity: LuaEntity§fluid: &'static str§name: &'static str§only_this_entity: bool§player_index: u32§tick: u32Trait Implementations§
Source§impl Clone for OnPlayerFlushedFluidEvent
impl Clone for OnPlayerFlushedFluidEvent
Source§fn clone(&self) -> OnPlayerFlushedFluidEvent
fn clone(&self) -> OnPlayerFlushedFluidEvent
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 moreimpl Copy for OnPlayerFlushedFluidEvent
Source§impl Debug for OnPlayerFlushedFluidEvent
impl Debug for OnPlayerFlushedFluidEvent
Source§impl Default for OnPlayerFlushedFluidEvent
impl Default for OnPlayerFlushedFluidEvent
Source§fn default() -> OnPlayerFlushedFluidEvent
fn default() -> OnPlayerFlushedFluidEvent
Returns the “default value” for a type. Read more
impl StructuralPartialEq for OnPlayerFlushedFluidEvent
Auto Trait Implementations§
impl Freeze for OnPlayerFlushedFluidEvent
impl RefUnwindSafe for OnPlayerFlushedFluidEvent
impl Send for OnPlayerFlushedFluidEvent
impl Sync for OnPlayerFlushedFluidEvent
impl Unpin for OnPlayerFlushedFluidEvent
impl UnsafeUnpin for OnPlayerFlushedFluidEvent
impl UnwindSafe for OnPlayerFlushedFluidEvent
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