pub struct ClientboundPlayRecipeBookAddEntriesRecipe {
pub display_id: i32,
pub display: RecipeDisplay,
pub group: i32,
pub category: i32,
pub crafting_requirements: Option<Vec<u8>>,
}Expand description
Inline data structure used by ClientboundPlayRecipeBookAdd.
Fields§
§display_id: i32§display: RecipeDisplay§group: i32§category: i32§crafting_requirements: Option<Vec<u8>>Trait Implementations§
Source§impl Clone for ClientboundPlayRecipeBookAddEntriesRecipe
impl Clone for ClientboundPlayRecipeBookAddEntriesRecipe
Source§fn clone(&self) -> ClientboundPlayRecipeBookAddEntriesRecipe
fn clone(&self) -> ClientboundPlayRecipeBookAddEntriesRecipe
Returns a duplicate of the value. Read more
1.0.0 · 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 ClientboundPlayRecipeBookAddEntriesRecipe
impl Default for ClientboundPlayRecipeBookAddEntriesRecipe
Source§fn default() -> ClientboundPlayRecipeBookAddEntriesRecipe
fn default() -> ClientboundPlayRecipeBookAddEntriesRecipe
Returns the “default value” for a type. Read more
Source§impl EncodedSize for ClientboundPlayRecipeBookAddEntriesRecipe
impl EncodedSize for ClientboundPlayRecipeBookAddEntriesRecipe
fn encoded_size(&self) -> usize
Source§impl PartialEq for ClientboundPlayRecipeBookAddEntriesRecipe
impl PartialEq for ClientboundPlayRecipeBookAddEntriesRecipe
Source§fn eq(&self, other: &ClientboundPlayRecipeBookAddEntriesRecipe) -> bool
fn eq(&self, other: &ClientboundPlayRecipeBookAddEntriesRecipe) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClientboundPlayRecipeBookAddEntriesRecipe
Auto Trait Implementations§
impl Freeze for ClientboundPlayRecipeBookAddEntriesRecipe
impl RefUnwindSafe for ClientboundPlayRecipeBookAddEntriesRecipe
impl Send for ClientboundPlayRecipeBookAddEntriesRecipe
impl Sync for ClientboundPlayRecipeBookAddEntriesRecipe
impl Unpin for ClientboundPlayRecipeBookAddEntriesRecipe
impl UnsafeUnpin for ClientboundPlayRecipeBookAddEntriesRecipe
impl UnwindSafe for ClientboundPlayRecipeBookAddEntriesRecipe
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