pub struct View {
pub handle: Handle,
pub name: String,
pub center: Vector3,
pub height: f64,
pub width: f64,
pub direction: Vector3,
pub target: Vector3,
pub lens_length: f64,
pub front_clip: f64,
pub back_clip: f64,
pub twist_angle: f64,
}Expand description
A view table entry
Fields§
§handle: HandleUnique handle
name: StringView name
center: Vector3View center point
height: f64View height
width: f64View width
direction: Vector3View direction (from target)
target: Vector3View target point
lens_length: f64Lens length
front_clip: f64Front clipping plane offset
back_clip: f64Back clipping plane offset
twist_angle: f64Twist angle
Implementations§
Trait Implementations§
Source§impl TableEntry for View
impl TableEntry for View
Source§fn set_handle(&mut self, handle: Handle)
fn set_handle(&mut self, handle: Handle)
Set the entry’s handle
Source§fn is_standard(&self) -> bool
fn is_standard(&self) -> bool
Check if this is a standard/default entry
impl StructuralPartialEq for View
Auto Trait Implementations§
impl Freeze for View
impl RefUnwindSafe for View
impl Send for View
impl Sync for View
impl Unpin for View
impl UnsafeUnpin for View
impl UnwindSafe for View
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