Struct RecipeBookSettings
pub struct RecipeBookSettings {
pub open: bool,
pub filtering: bool,
}Expand description
Open and craftable-only state, independent of categories and vanilla books. Client intent must not be saved until the server accepts it.
Fields§
§open: boolWhether the book panel is open.
filtering: boolWhether only craftable recipes are shown.
Trait Implementations§
§impl Clone for RecipeBookSettings
impl Clone for RecipeBookSettings
§fn clone(&self) -> RecipeBookSettings
fn clone(&self) -> RecipeBookSettings
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 moreimpl Copy for RecipeBookSettings
§impl Debug for RecipeBookSettings
impl Debug for RecipeBookSettings
§impl Default for RecipeBookSettings
impl Default for RecipeBookSettings
§fn default() -> RecipeBookSettings
fn default() -> RecipeBookSettings
Returns the “default value” for a type. Read more
impl Eq for RecipeBookSettings
§impl PartialEq for RecipeBookSettings
impl PartialEq for RecipeBookSettings
impl StructuralPartialEq for RecipeBookSettings
Auto Trait Implementations§
impl Freeze for RecipeBookSettings
impl RefUnwindSafe for RecipeBookSettings
impl Send for RecipeBookSettings
impl Sync for RecipeBookSettings
impl Unpin for RecipeBookSettings
impl UnsafeUnpin for RecipeBookSettings
impl UnwindSafe for RecipeBookSettings
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