[][src]Struct physx::visual_debugger::VisualDebugger

pub struct VisualDebugger { /* fields omitted */ }

Implementations

impl VisualDebugger[src]

pub fn new(foundation: &mut Foundation, port: i32) -> Self[src]

Create a new VisualDebugger instance. This is a utility class that combines the TCP setup and the actual Pvd into one object. The port default for the PVD program is port 5425, so it is suggested to use this unless you're explicitly changing the other one as well.

This function internally calls new_with_timeout with a default timeout of 10 ms.

pub fn new_with_timeout(
    foundation: &mut Foundation,
    port: i32,
    timeout: u32
) -> Self
[src]

See description of new

pub fn get_raw(&self) -> *const PxPvd[src]

Get a const pointer to the underlying PhysX object

pub fn get_raw_mut(&mut self) -> *mut PxPvd[src]

Get a mut pointer to the underlying PhysX object

Trait Implementations

impl Drop for VisualDebugger[src]

fn drop(&mut self)[src]

Release the Pvd object, invalidating it

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.