pub struct LineOfSightResult {
pub npc_index: u8,
pub distance: u8,
}Expand description
Result of a line-of-sight check between an NPC and the player.
Fields§
§npc_index: u8§distance: u8Trait Implementations§
Source§impl Clone for LineOfSightResult
impl Clone for LineOfSightResult
Source§fn clone(&self) -> LineOfSightResult
fn clone(&self) -> LineOfSightResult
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 LineOfSightResult
impl Debug for LineOfSightResult
impl Eq for LineOfSightResult
Source§impl PartialEq for LineOfSightResult
impl PartialEq for LineOfSightResult
impl StructuralPartialEq for LineOfSightResult
Auto Trait Implementations§
impl Freeze for LineOfSightResult
impl RefUnwindSafe for LineOfSightResult
impl Send for LineOfSightResult
impl Sync for LineOfSightResult
impl Unpin for LineOfSightResult
impl UnsafeUnpin for LineOfSightResult
impl UnwindSafe for LineOfSightResult
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