pub struct CommandNodeSpec {
pub children_indices: CountedArray<VarInt, VarInt>,
pub redirect_node: Option<VarInt>,
pub is_executable: bool,
pub node: CommandNode,
}
Fields§
§children_indices: CountedArray<VarInt, VarInt>
§redirect_node: Option<VarInt>
§is_executable: bool
§node: CommandNode
Trait Implementations§
Source§impl Clone for CommandNodeSpec
impl Clone for CommandNodeSpec
Source§fn clone(&self) -> CommandNodeSpec
fn clone(&self) -> CommandNodeSpec
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 CommandNodeSpec
impl Debug for CommandNodeSpec
Source§impl Deserialize for CommandNodeSpec
impl Deserialize for CommandNodeSpec
fn mc_deserialize(data: &[u8]) -> DeserializeResult<'_, Self>
Source§impl PartialEq for CommandNodeSpec
impl PartialEq for CommandNodeSpec
Source§impl Serialize for CommandNodeSpec
impl Serialize for CommandNodeSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for CommandNodeSpec
Auto Trait Implementations§
impl Freeze for CommandNodeSpec
impl RefUnwindSafe for CommandNodeSpec
impl Send for CommandNodeSpec
impl Sync for CommandNodeSpec
impl Unpin for CommandNodeSpec
impl UnwindSafe for CommandNodeSpec
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