#[repr(C)]pub struct tm_camera_controller_component_t {
pub disable_input: bool,
pub _padding_24: [i8; 3],
pub mode: i32,
pub translation: tm_vec3_t,
pub damped_translation: tm_vec3_t,
pub rotation: tm_vec2_t,
pub focus_point: tm_vec3_t,
pub zoom: f32,
pub spin: tm_vec2_t,
pub pan: tm_vec2_t,
}Fields§
§disable_input: bool§_padding_24: [i8; 3]§mode: i32§translation: tm_vec3_t§damped_translation: tm_vec3_t§rotation: tm_vec2_t§focus_point: tm_vec3_t§zoom: f32§spin: tm_vec2_t§pan: tm_vec2_tTrait Implementations§
Source§impl Clone for tm_camera_controller_component_t
impl Clone for tm_camera_controller_component_t
Source§fn clone(&self) -> tm_camera_controller_component_t
fn clone(&self) -> tm_camera_controller_component_t
Returns a duplicate 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 moreimpl Copy for tm_camera_controller_component_t
Auto Trait Implementations§
impl Freeze for tm_camera_controller_component_t
impl RefUnwindSafe for tm_camera_controller_component_t
impl Send for tm_camera_controller_component_t
impl Sync for tm_camera_controller_component_t
impl Unpin for tm_camera_controller_component_t
impl UnwindSafe for tm_camera_controller_component_t
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