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