BoxController

Trait BoxController 

Source
pub trait BoxController: Class<PxBoxController> + Controller {
    // Provided methods
    fn get_half_forward_extent(&self) -> f32 { ... }
    fn get_half_height(&self) -> f32 { ... }
    fn get_half_side_extent(&self) -> f32 { ... }
    fn set_half_forward_extent(&mut self, extent: f32) -> bool { ... }
    fn set_half_height(&mut self, height: f32) -> bool { ... }
    fn set_half_side_extent(&mut self, extent: f32) -> bool { ... }
}

Provided Methods§

Source

fn get_half_forward_extent(&self) -> f32

Get the half forward extent.

Source

fn get_half_height(&self) -> f32

Get the half height.

Source

fn get_half_side_extent(&self) -> f32

Get the half side extent.

Source

fn set_half_forward_extent(&mut self, extent: f32) -> bool

Set the half forward extent.

Source

fn set_half_height(&mut self, height: f32) -> bool

Set the half height.

Source

fn set_half_side_extent(&mut self, extent: f32) -> bool

Set the half side extent.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§