pub enum FluidID {
Name(&'static str),
FluidPrototype(LuaFluidPrototype),
Fluid(Fluid),
}Expand description
A fluid may be specified in one of three ways.
Variants§
Trait Implementations§
impl Copy for FluidID
Source§impl From<FluidID> for FlowStatisticsID
impl From<FluidID> for FlowStatisticsID
Source§impl From<LuaFluidPrototype> for FluidID
impl From<LuaFluidPrototype> for FluidID
Source§fn from(value: LuaFluidPrototype) -> Self
fn from(value: LuaFluidPrototype) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for FluidID
Auto Trait Implementations§
impl Freeze for FluidID
impl RefUnwindSafe for FluidID
impl Send for FluidID
impl Sync for FluidID
impl Unpin for FluidID
impl UnsafeUnpin for FluidID
impl UnwindSafe for FluidID
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