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