pub struct LuaControlBeginCraftingParams {
pub count: u32,
pub recipe: LuaAny,
pub silent: bool,
}Expand description
Begins crafting the given count of the given recipe.
Fields§
§count: u32The count to craft.
recipe: LuaAnyThe recipe to craft.
silent: boolIf false and the recipe can’t be crafted the requested number of times printing the failure is skipped.
Trait Implementations§
Source§impl Clone for LuaControlBeginCraftingParams
impl Clone for LuaControlBeginCraftingParams
Source§fn clone(&self) -> LuaControlBeginCraftingParams
fn clone(&self) -> LuaControlBeginCraftingParams
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 Default for LuaControlBeginCraftingParams
impl Default for LuaControlBeginCraftingParams
Source§fn default() -> LuaControlBeginCraftingParams
fn default() -> LuaControlBeginCraftingParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaControlBeginCraftingParams
impl RefUnwindSafe for LuaControlBeginCraftingParams
impl Send for LuaControlBeginCraftingParams
impl Sync for LuaControlBeginCraftingParams
impl Unpin for LuaControlBeginCraftingParams
impl UnsafeUnpin for LuaControlBeginCraftingParams
impl UnwindSafe for LuaControlBeginCraftingParams
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