View3D

Struct View3D 

Source
#[repr(C, packed(4))]
pub struct View3D {
Show 58 fields pub next: Pointer<SpaceLink>, pub prev: Pointer<SpaceLink>, pub regionbase: ListBase, pub spacetype: i8, pub link_flag: i8, pub _pad0: [i8; 6], pub viewquat: [f32; 4], pub dist: f32, pub bundle_size: f32, pub bundle_drawtype: i8, pub drawtype: i8, pub _pad3: [i8; 1], pub multiview_eye: i8, pub object_type_exclude_viewport: i32, pub object_type_exclude_select: i32, pub persp: i16, pub view: i16, pub camera: Pointer<Object>, pub ob_centre: Pointer<Object>, pub render_border: rctf, pub localvd: Pointer<View3D>, pub ob_centre_bone: [i8; 64], pub local_view_uuid: i16, pub _pad6: [i8; 2], pub layact: i32, pub local_collections_uuid: i16, pub _pad7: [i16; 3], pub ob_centre_cursor: i16, pub scenelock: i16, pub gp_flag: i16, pub flag: i16, pub flag2: i32, pub lens: f32, pub grid: f32, pub near: f32, pub far: f32, pub ofs: [f32; 3], pub _pad: [i8; 1], pub gizmo_flag: i8, pub gizmo_show_object: i8, pub gizmo_show_armature: i8, pub gizmo_show_empty: i8, pub gizmo_show_light: i8, pub gizmo_show_camera: i8, pub gridflag: i8, pub gridlines: i16, pub gridsubdiv: i16, pub vertex_opacity: f32, pub gpd: Pointer<bGPdata>, pub stereo3d_flag: i16, pub stereo3d_camera: i8, pub _pad4: i8, pub stereo3d_convergence_factor: f32, pub stereo3d_volume_alpha: f32, pub stereo3d_convergence_alpha: f32, pub shading: View3DShading, pub overlay: View3DOverlay, pub runtime: View3D_Runtime,
}

Fields§

§next: Pointer<SpaceLink>§prev: Pointer<SpaceLink>§regionbase: ListBase§spacetype: i8§link_flag: i8§_pad0: [i8; 6]§viewquat: [f32; 4]§dist: f32§bundle_size: f32§bundle_drawtype: i8§drawtype: i8§_pad3: [i8; 1]§multiview_eye: i8§object_type_exclude_viewport: i32§object_type_exclude_select: i32§persp: i16§view: i16§camera: Pointer<Object>§ob_centre: Pointer<Object>§render_border: rctf§localvd: Pointer<View3D>§ob_centre_bone: [i8; 64]§local_view_uuid: i16§_pad6: [i8; 2]§layact: i32§local_collections_uuid: i16§_pad7: [i16; 3]§ob_centre_cursor: i16§scenelock: i16§gp_flag: i16§flag: i16§flag2: i32§lens: f32§grid: f32§near: f32§far: f32§ofs: [f32; 3]§_pad: [i8; 1]§gizmo_flag: i8§gizmo_show_object: i8§gizmo_show_armature: i8§gizmo_show_empty: i8§gizmo_show_light: i8§gizmo_show_camera: i8§gridflag: i8§gridlines: i16§gridsubdiv: i16§vertex_opacity: f32§gpd: Pointer<bGPdata>§stereo3d_flag: i16§stereo3d_camera: i8§_pad4: i8§stereo3d_convergence_factor: f32§stereo3d_volume_alpha: f32§stereo3d_convergence_alpha: f32§shading: View3DShading§overlay: View3DOverlay§runtime: View3D_Runtime

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for View3D

§

impl RefUnwindSafe for View3D

§

impl Send for View3D

§

impl Sync for View3D

§

impl Unpin for View3D

§

impl UnwindSafe for View3D

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.