pub struct LuaEntityExtractFluidParams {
pub amount: LuaAny,
pub maximum_temperature: f64,
pub minimum_temperature: f64,
pub name: String,
pub temperature: f64,
}Expand description
Remove fluid from this entity.
If temperature is given only fluid matching that exact temperature is removed. If minimum and maximum is given fluid within that range is removed.
Fields§
§amount: LuaAnyAmount to remove
maximum_temperature: f64§minimum_temperature: f64§name: StringFluid prototype name.
temperature: f64Trait Implementations§
Source§impl Clone for LuaEntityExtractFluidParams
impl Clone for LuaEntityExtractFluidParams
Source§fn clone(&self) -> LuaEntityExtractFluidParams
fn clone(&self) -> LuaEntityExtractFluidParams
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 LuaEntityExtractFluidParams
impl Debug for LuaEntityExtractFluidParams
Source§impl Default for LuaEntityExtractFluidParams
impl Default for LuaEntityExtractFluidParams
Source§fn default() -> LuaEntityExtractFluidParams
fn default() -> LuaEntityExtractFluidParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaEntityExtractFluidParams
impl RefUnwindSafe for LuaEntityExtractFluidParams
impl Send for LuaEntityExtractFluidParams
impl Sync for LuaEntityExtractFluidParams
impl Unpin for LuaEntityExtractFluidParams
impl UnsafeUnpin for LuaEntityExtractFluidParams
impl UnwindSafe for LuaEntityExtractFluidParams
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