#[repr(C)]pub struct gvr_rectf {
pub left: f32,
pub right: f32,
pub bottom: f32,
pub top: f32,
}Expand description
A floating point 2D rect. Used for field of view, and also for ranges in texture space. When used for a field of view, all angles are in positive degrees from the optical axis.
Fields§
§left: f32§right: f32§bottom: f32§top: f32Trait Implementations§
Auto Trait Implementations§
impl Freeze for gvr_rectf
impl RefUnwindSafe for gvr_rectf
impl Send for gvr_rectf
impl Sync for gvr_rectf
impl Unpin for gvr_rectf
impl UnwindSafe for gvr_rectf
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