pub struct DtLocalBoundary(/* private fields */);Implementations§
Source§impl DtLocalBoundary
impl DtLocalBoundary
pub fn reset(&mut self)
pub fn update( &mut self, re: DtPolyRef, pos: &[f32; 3], collision_query_range: f32, navquery: &mut DtNavMeshQuery, filter: &DtQueryFilter, )
pub fn is_valid( &self, navquery: &mut DtNavMeshQuery, filter: &DtQueryFilter, ) -> bool
pub fn center(&self) -> &[f32; 3]
pub fn segment(&self, i: usize) -> Option<&DtAABB>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DtLocalBoundary
impl RefUnwindSafe for DtLocalBoundary
impl Send for DtLocalBoundary
impl Sync for DtLocalBoundary
impl Unpin for DtLocalBoundary
impl UnwindSafe for DtLocalBoundary
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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