pub struct DebugVisualizerCamera {
pub width: i32,
pub height: i32,
pub view_matrix: [f32; 16],
pub projection_matrix: [f32; 16],
pub camera_up: [f32; 3],
pub camera_forward: [f32; 3],
pub horizontal: [f32; 3],
pub vertical: [f32; 3],
pub yaw: f32,
pub pitch: f32,
pub distance: f32,
pub target: [f32; 3],
}Fields§
§width: i32§height: i32§view_matrix: [f32; 16]§projection_matrix: [f32; 16]§camera_up: [f32; 3]§camera_forward: [f32; 3]§horizontal: [f32; 3]§vertical: [f32; 3]§yaw: f32§pitch: f32§distance: f32§target: [f32; 3]Trait Implementations§
Source§impl Clone for DebugVisualizerCamera
impl Clone for DebugVisualizerCamera
Source§fn clone(&self) -> DebugVisualizerCamera
fn clone(&self) -> DebugVisualizerCamera
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 moreAuto Trait Implementations§
impl Freeze for DebugVisualizerCamera
impl RefUnwindSafe for DebugVisualizerCamera
impl Send for DebugVisualizerCamera
impl Sync for DebugVisualizerCamera
impl Unpin for DebugVisualizerCamera
impl UnwindSafe for DebugVisualizerCamera
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.