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