pub struct PlayEditBookSpec {
pub new_book: Slot,
pub is_signing: bool,
pub hand: Hand,
}
Fields§
§new_book: Slot
§is_signing: bool
§hand: Hand
Trait Implementations§
Source§impl Clone for PlayEditBookSpec
impl Clone for PlayEditBookSpec
Source§fn clone(&self) -> PlayEditBookSpec
fn clone(&self) -> PlayEditBookSpec
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 Debug for PlayEditBookSpec
impl Debug for PlayEditBookSpec
Source§impl Deserialize for PlayEditBookSpec
impl Deserialize for PlayEditBookSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<PlayEditBookSpec> for (Slot, bool, Hand)
impl From<PlayEditBookSpec> for (Slot, bool, Hand)
Source§fn from(other: PlayEditBookSpec) -> Self
fn from(other: PlayEditBookSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayEditBookSpec
impl PartialEq for PlayEditBookSpec
Source§impl Serialize for PlayEditBookSpec
impl Serialize for PlayEditBookSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayEditBookSpec
Auto Trait Implementations§
impl Freeze for PlayEditBookSpec
impl RefUnwindSafe for PlayEditBookSpec
impl Send for PlayEditBookSpec
impl Sync for PlayEditBookSpec
impl Unpin for PlayEditBookSpec
impl UnwindSafe for PlayEditBookSpec
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