Struct RecipeTransferCheck
pub struct RecipeTransferCheck {
pub result: RecipeTransferResult,
pub missing_cells: Vec<u32>,
}Expand description
The server’s answer to transfer_recipe_check: what the transfer would
do, and with Missing, the recipe’s cells nothing fills.
Fields§
§result: RecipeTransferResultWhat the transfer would do.
missing_cells: Vec<u32>With Missing, the recipe’s cells no item fills: indices into its
slots (width by height for a shaped recipe, else its ingredients in
order). Empty otherwise.
Trait Implementations§
§impl Clone for RecipeTransferCheck
impl Clone for RecipeTransferCheck
§fn clone(&self) -> RecipeTransferCheck
fn clone(&self) -> RecipeTransferCheck
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 more§impl Debug for RecipeTransferCheck
impl Debug for RecipeTransferCheck
impl Eq for RecipeTransferCheck
§impl PartialEq for RecipeTransferCheck
impl PartialEq for RecipeTransferCheck
impl StructuralPartialEq for RecipeTransferCheck
Auto Trait Implementations§
impl Freeze for RecipeTransferCheck
impl RefUnwindSafe for RecipeTransferCheck
impl Send for RecipeTransferCheck
impl Sync for RecipeTransferCheck
impl Unpin for RecipeTransferCheck
impl UnsafeUnpin for RecipeTransferCheck
impl UnwindSafe for RecipeTransferCheck
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