pub enum PointedThing {
Nothing,
Node {
under_surface: v3s16,
above_surface: v3s16,
},
Object {
object_id: u16,
},
}
Variants§
Trait Implementations§
Source§impl Clone for PointedThing
impl Clone for PointedThing
Source§fn clone(&self) -> PointedThing
fn clone(&self) -> PointedThing
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PointedThing
impl Debug for PointedThing
Source§impl Deserialize for PointedThing
impl Deserialize for PointedThing
Source§type Output = PointedThing
type Output = PointedThing
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl PartialEq for PointedThing
impl PartialEq for PointedThing
Source§impl Serialize for PointedThing
impl Serialize for PointedThing
type Input = PointedThing
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for PointedThing
Auto Trait Implementations§
impl Freeze for PointedThing
impl RefUnwindSafe for PointedThing
impl Send for PointedThing
impl Sync for PointedThing
impl Unpin for PointedThing
impl UnwindSafe for PointedThing
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