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