pub struct DebugPathNode {
pub x: Int,
pub y: Int,
pub z: Int,
pub walked_distance: Float,
pub cost_malus: Float,
pub closed: Boolean,
pub node_type: DebugPathNodeType,
pub f: Float,
}Expand description
One node in an entity path debug payload.
Fields§
§x: Int§y: Int§z: Int§walked_distance: Float§cost_malus: Float§closed: Boolean§node_type: DebugPathNodeType§f: FloatThe protocol field named F.
Trait Implementations§
Source§impl Clone for DebugPathNode
impl Clone for DebugPathNode
Source§fn clone(&self) -> DebugPathNode
fn clone(&self) -> DebugPathNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DebugPathNode
impl Debug for DebugPathNode
Source§impl PartialEq for DebugPathNode
impl PartialEq for DebugPathNode
impl StructuralPartialEq for DebugPathNode
Source§impl TypeCodec for DebugPathNode
impl TypeCodec for DebugPathNode
Auto Trait Implementations§
impl Freeze for DebugPathNode
impl RefUnwindSafe for DebugPathNode
impl Send for DebugPathNode
impl Sync for DebugPathNode
impl Unpin for DebugPathNode
impl UnsafeUnpin for DebugPathNode
impl UnwindSafe for DebugPathNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ContextualCodec for Twhere
T: TypeCodec,
impl<T> ContextualCodec for Twhere
T: TypeCodec,
Source§fn encode_with_context(
&self,
writer: &mut impl Write,
_context: &Context,
) -> Result<(), CodecError>
fn encode_with_context( &self, writer: &mut impl Write, _context: &Context, ) -> Result<(), CodecError>
Encodes this value using context supplied by its enclosing structure.
Source§fn decode_with_context(
reader: &mut impl Read,
_context: &Context,
) -> Result<T, CodecError>where
T: Sized,
fn decode_with_context(
reader: &mut impl Read,
_context: &Context,
) -> Result<T, CodecError>where
T: Sized,
Decodes this value using context supplied by its enclosing structure.