CiViewportInteract

Struct CiViewportInteract 

Source
#[repr(C)]
pub struct CiViewportInteract {
Show 20 fields pub tt: *mut TheTruthO, pub entity_ctx: *mut EntityContextO, pub entity: TtIdT, pub component: TtIdT, pub ui: *mut UiO, pub uistyle: *const UiStyleT, pub primitive_buffer: *mut PrimitiveDrawerBufferT, pub vertex_buffer: *mut PrimitiveDrawerBufferT, pub allocator: *mut AllocatorI, pub camera: *const CameraT, pub viewport_r: RectT, pub viewport_id: u64, pub tab_id: u64, pub undo_stack: *mut UndoStackI, pub active_tool_id: StrhashT, pub move_settings: *mut GizmoMoveSettingsT, pub rotate_settings: *mut GizmoRotateSettingsT, pub scale_settings: *mut GizmoScaleSettingsT, pub editor: *mut c_void, pub set_selection: Option<unsafe extern "C" fn(editor: *mut c_void, item_t: TtIdT)>,
}

Fields§

§tt: *mut TheTruthO§entity_ctx: *mut EntityContextO§entity: TtIdT§component: TtIdT§ui: *mut UiO§uistyle: *const UiStyleT§primitive_buffer: *mut PrimitiveDrawerBufferT§vertex_buffer: *mut PrimitiveDrawerBufferT§allocator: *mut AllocatorI§camera: *const CameraT§viewport_r: RectT§viewport_id: u64§tab_id: u64§undo_stack: *mut UndoStackI§active_tool_id: StrhashT§move_settings: *mut GizmoMoveSettingsT§rotate_settings: *mut GizmoRotateSettingsT§scale_settings: *mut GizmoScaleSettingsT§editor: *mut c_void§set_selection: Option<unsafe extern "C" fn(editor: *mut c_void, item_t: TtIdT)>

Trait Implementations§

Source§

impl Default for CiViewportInteract

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.