pub struct MinecraftPathNodeContents {
pub walked_distance: f32,
pub cost_malus: f32,
pub closed: bool,
pub kind: MinecraftPathNodeKind,
pub f: f32,
}Fields§
§walked_distance: f32§cost_malus: f32§closed: bool§kind: MinecraftPathNodeKind§f: f32Trait Implementations§
Source§impl AzBuf for MinecraftPathNodeContents
impl AzBuf for MinecraftPathNodeContents
fn azalea_write(&self, buf: &mut impl Write) -> Result<(), Error>
fn azalea_read(buf: &mut Cursor<&[u8]>) -> Result<Self, BufReadError>
Source§impl Clone for MinecraftPathNodeContents
impl Clone for MinecraftPathNodeContents
Source§fn clone(&self) -> MinecraftPathNodeContents
fn clone(&self) -> MinecraftPathNodeContents
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 MinecraftPathNodeContents
impl Debug for MinecraftPathNodeContents
Source§impl PartialEq for MinecraftPathNodeContents
impl PartialEq for MinecraftPathNodeContents
Source§fn eq(&self, other: &MinecraftPathNodeContents) -> bool
fn eq(&self, other: &MinecraftPathNodeContents) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MinecraftPathNodeContents
Auto Trait Implementations§
impl Freeze for MinecraftPathNodeContents
impl RefUnwindSafe for MinecraftPathNodeContents
impl Send for MinecraftPathNodeContents
impl Sync for MinecraftPathNodeContents
impl Unpin for MinecraftPathNodeContents
impl UnsafeUnpin for MinecraftPathNodeContents
impl UnwindSafe for MinecraftPathNodeContents
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