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