pub struct ClientboundPlayRecipeBookSettings {
pub crafting_gui_open: bool,
pub crafting_filtering_craftable: bool,
pub smelting_gui_open: bool,
pub smelting_filtering_craftable: bool,
pub blast_gui_open: bool,
pub blast_filtering_craftable: bool,
pub smoker_gui_open: bool,
pub smoker_filtering_craftable: bool,
}Fields§
§crafting_gui_open: bool§crafting_filtering_craftable: bool§smelting_gui_open: bool§smelting_filtering_craftable: bool§blast_gui_open: bool§blast_filtering_craftable: bool§smoker_gui_open: bool§smoker_filtering_craftable: boolImplementations§
Source§impl ClientboundPlayRecipeBookSettings
impl ClientboundPlayRecipeBookSettings
Sourcepub const PACKET_ID: i32 = 70i32
pub const PACKET_ID: i32 = 70i32
The packet ID used by the registry to dispatch this packet.
This value is declared via #[packet(id = N)] and corresponds to
the VarInt packet ID read/written by the framing layer. The struct’s
own Encode/Decode does NOT include this ID — it only encodes the
packet’s payload fields.
Trait Implementations§
Source§impl Clone for ClientboundPlayRecipeBookSettings
impl Clone for ClientboundPlayRecipeBookSettings
Source§fn clone(&self) -> ClientboundPlayRecipeBookSettings
fn clone(&self) -> ClientboundPlayRecipeBookSettings
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 ClientboundPlayRecipeBookSettings
impl Default for ClientboundPlayRecipeBookSettings
Source§fn default() -> ClientboundPlayRecipeBookSettings
fn default() -> ClientboundPlayRecipeBookSettings
Returns the “default value” for a type. Read more
Source§impl EncodedSize for ClientboundPlayRecipeBookSettings
impl EncodedSize for ClientboundPlayRecipeBookSettings
fn encoded_size(&self) -> usize
Source§impl PartialEq for ClientboundPlayRecipeBookSettings
impl PartialEq for ClientboundPlayRecipeBookSettings
Source§fn eq(&self, other: &ClientboundPlayRecipeBookSettings) -> bool
fn eq(&self, other: &ClientboundPlayRecipeBookSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClientboundPlayRecipeBookSettings
Auto Trait Implementations§
impl Freeze for ClientboundPlayRecipeBookSettings
impl RefUnwindSafe for ClientboundPlayRecipeBookSettings
impl Send for ClientboundPlayRecipeBookSettings
impl Sync for ClientboundPlayRecipeBookSettings
impl Unpin for ClientboundPlayRecipeBookSettings
impl UnsafeUnpin for ClientboundPlayRecipeBookSettings
impl UnwindSafe for ClientboundPlayRecipeBookSettings
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