Struct BrainWalkTarget
#[non_exhaustive]pub struct BrainWalkTarget {
pub at: [f64; 3],
pub speed: f64,
pub close: i32,
}Expand description
A brain’s WALK_TARGET memory as a behavior reads it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.at: [f64; 3]Where the mob walks.
speed: f64How fast.
close: i32How close counts as there.
Trait Implementations§
§impl Clone for BrainWalkTarget
impl Clone for BrainWalkTarget
§fn clone(&self) -> BrainWalkTarget
fn clone(&self) -> BrainWalkTarget
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 moreimpl Copy for BrainWalkTarget
§impl Debug for BrainWalkTarget
impl Debug for BrainWalkTarget
§impl PartialEq for BrainWalkTarget
impl PartialEq for BrainWalkTarget
impl StructuralPartialEq for BrainWalkTarget
Auto Trait Implementations§
impl Freeze for BrainWalkTarget
impl RefUnwindSafe for BrainWalkTarget
impl Send for BrainWalkTarget
impl Sync for BrainWalkTarget
impl Unpin for BrainWalkTarget
impl UnsafeUnpin for BrainWalkTarget
impl UnwindSafe for BrainWalkTarget
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