Struct RecipeBookTypeKey
pub struct RecipeBookTypeKey { /* private fields */ }Expand description
A namespaced custom recipe book identity returned during registration. This owns no settings; player settings and synchronization are separate.
Implementations§
§impl RecipeBookTypeKey
impl RecipeBookTypeKey
pub fn registered() -> Vec<RecipeBookTypeKey>
pub fn registered() -> Vec<RecipeBookTypeKey>
Frozen registered book identities in stable namespaced order. Intended for connection negotiation and declaration validation, not ticks.
pub fn is_registered(&self) -> bool
pub fn is_registered(&self) -> bool
Whether this process has installed this identity in its frozen registry.
Trait Implementations§
§impl Clone for RecipeBookTypeKey
impl Clone for RecipeBookTypeKey
§fn clone(&self) -> RecipeBookTypeKey
fn clone(&self) -> RecipeBookTypeKey
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 more§impl Debug for RecipeBookTypeKey
impl Debug for RecipeBookTypeKey
impl Eq for RecipeBookTypeKey
§impl Hash for RecipeBookTypeKey
impl Hash for RecipeBookTypeKey
§impl PartialEq for RecipeBookTypeKey
impl PartialEq for RecipeBookTypeKey
impl StructuralPartialEq for RecipeBookTypeKey
Auto Trait Implementations§
impl Freeze for RecipeBookTypeKey
impl RefUnwindSafe for RecipeBookTypeKey
impl Send for RecipeBookTypeKey
impl Sync for RecipeBookTypeKey
impl Unpin for RecipeBookTypeKey
impl UnsafeUnpin for RecipeBookTypeKey
impl UnwindSafe for RecipeBookTypeKey
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