pub struct ClientboundPlayDeclareRecipesRecipes {
pub name: String,
pub items: Vec<i32>,
}Expand description
Inline data structure used by ClientboundPlayDeclareRecipes.
Fields§
§name: String§items: Vec<i32>Trait Implementations§
Source§impl Clone for ClientboundPlayDeclareRecipesRecipes
impl Clone for ClientboundPlayDeclareRecipesRecipes
Source§fn clone(&self) -> ClientboundPlayDeclareRecipesRecipes
fn clone(&self) -> ClientboundPlayDeclareRecipesRecipes
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 ClientboundPlayDeclareRecipesRecipes
impl Default for ClientboundPlayDeclareRecipesRecipes
Source§fn default() -> ClientboundPlayDeclareRecipesRecipes
fn default() -> ClientboundPlayDeclareRecipesRecipes
Returns the “default value” for a type. Read more
Source§impl EncodedSize for ClientboundPlayDeclareRecipesRecipes
impl EncodedSize for ClientboundPlayDeclareRecipesRecipes
fn encoded_size(&self) -> usize
Source§impl PartialEq for ClientboundPlayDeclareRecipesRecipes
impl PartialEq for ClientboundPlayDeclareRecipesRecipes
Source§fn eq(&self, other: &ClientboundPlayDeclareRecipesRecipes) -> bool
fn eq(&self, other: &ClientboundPlayDeclareRecipesRecipes) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClientboundPlayDeclareRecipesRecipes
Auto Trait Implementations§
impl Freeze for ClientboundPlayDeclareRecipesRecipes
impl RefUnwindSafe for ClientboundPlayDeclareRecipesRecipes
impl Send for ClientboundPlayDeclareRecipesRecipes
impl Sync for ClientboundPlayDeclareRecipesRecipes
impl Unpin for ClientboundPlayDeclareRecipesRecipes
impl UnsafeUnpin for ClientboundPlayDeclareRecipesRecipes
impl UnwindSafe for ClientboundPlayDeclareRecipesRecipes
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