Struct ngt_sys::NGTObjectDistance
source · #[repr(C)]pub struct NGTObjectDistance {
pub id: ObjectID,
pub distance: f32,
}
Fields§
§id: ObjectID
§distance: f32
Trait Implementations§
source§impl Clone for NGTObjectDistance
impl Clone for NGTObjectDistance
source§fn clone(&self) -> NGTObjectDistance
fn clone(&self) -> NGTObjectDistance
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 NGTObjectDistance
impl Debug for NGTObjectDistance
impl Copy for NGTObjectDistance
Auto Trait Implementations§
impl RefUnwindSafe for NGTObjectDistance
impl Send for NGTObjectDistance
impl Sync for NGTObjectDistance
impl Unpin for NGTObjectDistance
impl UnwindSafe for NGTObjectDistance
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