pub struct Path {
pub reached: bool,
pub next_node_index: i32,
pub target: BlockPos,
pub nodes: Vec<Node>,
pub debug_data: PathDebugData,
}Expand description
Named type Path.
Fields§
§reached: boolreached
next_node_index: i32nextNodeIndex
target: BlockPostarget
nodes: Vec<Node>nodes
debug_data: PathDebugDatadebugData
Trait Implementations§
Source§impl Decode for Path
Available on crate features v26_1 or v26_2 only.
impl Decode for Path
Available on crate features
v26_1 or v26_2 only.Source§fn decode(r: &mut Reader<'_>) -> DecodeResult<Self>
fn decode(r: &mut Reader<'_>) -> DecodeResult<Self>
Decodes one value, advancing the reader past it.
Source§impl Encode for Path
Available on crate features v26_1 or v26_2 only.
impl Encode for Path
Available on crate features
v26_1 or v26_2 only.Source§fn encode(&self, w: &mut BytesMut) -> EncodeResult
fn encode(&self, w: &mut BytesMut) -> EncodeResult
Appends the encoding of
self to w.Source§impl Generate for Path
Available on crate feature testgen and (crate features v26_1 or v26_2) only.
impl Generate for Path
Available on crate feature
testgen and (crate features v26_1 or v26_2) only.impl StructuralPartialEq for Path
Auto Trait Implementations§
impl Forget for Path
impl Freeze for Path
impl Move for Path
impl RefUnwindSafe for Path
impl Send for Path
impl Sync for Path
impl Unpin for Path
impl UnsafeUnpin for Path
impl UnwindSafe for Path
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