pub struct LuaControlCancelCraftingParams {
pub count: u32,
pub index: u32,
}Expand description
Cancels the given amount of crafts at the given crafting queue position. If this causes any later crafts that depend on the cancelled one to have insufficient ingredients, those crafts will also be cancelled.
Fields§
§count: u32The count to cancel crafting.
index: u32The crafting queue index.
Trait Implementations§
Source§impl Clone for LuaControlCancelCraftingParams
impl Clone for LuaControlCancelCraftingParams
Source§fn clone(&self) -> LuaControlCancelCraftingParams
fn clone(&self) -> LuaControlCancelCraftingParams
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 LuaControlCancelCraftingParams
impl Default for LuaControlCancelCraftingParams
Source§fn default() -> LuaControlCancelCraftingParams
fn default() -> LuaControlCancelCraftingParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaControlCancelCraftingParams
impl RefUnwindSafe for LuaControlCancelCraftingParams
impl Send for LuaControlCancelCraftingParams
impl Sync for LuaControlCancelCraftingParams
impl Unpin for LuaControlCancelCraftingParams
impl UnsafeUnpin for LuaControlCancelCraftingParams
impl UnwindSafe for LuaControlCancelCraftingParams
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