Struct dcso3::controller::DetectedTargetInfo
source · pub struct DetectedTargetInfo {
pub is_detected: bool,
pub is_visible: bool,
pub last_time_seen: f64,
pub type_known: bool,
pub distance_known: bool,
pub last_position: Vec3,
pub last_velocity: Vec3,
}Fields§
§is_detected: bool§is_visible: bool§last_time_seen: f64§type_known: bool§distance_known: bool§last_position: Vec3§last_velocity: Vec3Trait Implementations§
source§impl Clone for DetectedTargetInfo
impl Clone for DetectedTargetInfo
source§fn clone(&self) -> DetectedTargetInfo
fn clone(&self) -> DetectedTargetInfo
Returns a copy of the value. Read more
1.0.0 · 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 DetectedTargetInfo
impl Debug for DetectedTargetInfo
source§impl<'lua> FromLuaMulti<'lua> for DetectedTargetInfo
impl<'lua> FromLuaMulti<'lua> for DetectedTargetInfo
source§fn from_lua_multi(
values: LuaMultiValue<'lua>,
lua: &'lua Lua
) -> LuaResult<Self>
fn from_lua_multi( values: LuaMultiValue<'lua>, lua: &'lua Lua ) -> LuaResult<Self>
Performs the conversion. Read more
Auto Trait Implementations§
impl RefUnwindSafe for DetectedTargetInfo
impl Send for DetectedTargetInfo
impl Sync for DetectedTargetInfo
impl Unpin for DetectedTargetInfo
impl UnwindSafe for DetectedTargetInfo
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