pub struct PathRequest<'a> {
pub targets: &'a [BlockPos],
pub max_path_length: f32,
pub reach_range: i32,
pub max_visited_nodes_multiplier: f32,
}Fields§
§targets: &'a [BlockPos]§max_path_length: f32§reach_range: i32§max_visited_nodes_multiplier: f32Trait Implementations§
Source§impl<'a> Clone for PathRequest<'a>
impl<'a> Clone for PathRequest<'a>
Source§fn clone(&self) -> PathRequest<'a>
fn clone(&self) -> PathRequest<'a>
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<'a> Copy for PathRequest<'a>
Source§impl<'a> Debug for PathRequest<'a>
impl<'a> Debug for PathRequest<'a>
Source§impl<'a> PartialEq for PathRequest<'a>
impl<'a> PartialEq for PathRequest<'a>
impl<'a> StructuralPartialEq for PathRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for PathRequest<'a>
impl<'a> RefUnwindSafe for PathRequest<'a>
impl<'a> Send for PathRequest<'a>
impl<'a> Sync for PathRequest<'a>
impl<'a> Unpin for PathRequest<'a>
impl<'a> UnsafeUnpin for PathRequest<'a>
impl<'a> UnwindSafe for PathRequest<'a>
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreWraps this value in an
Arc<SyncMutex<>>