pub struct ViewportDesc {
pub x: i32,
pub y: i32,
pub width: i32,
pub height: i32,
pub min_depth: f32,
pub max_depth: f32,
}Expand description
Viewport rectangle and depth range.
Donor: oa::ViewportDesc.
Fields§
§x: i32§y: i32§width: i32§height: i32§min_depth: f32§max_depth: f32Implementations§
Source§impl ViewportDesc
impl ViewportDesc
Trait Implementations§
Source§impl Clone for ViewportDesc
impl Clone for ViewportDesc
impl Copy for ViewportDesc
Source§impl Debug for ViewportDesc
impl Debug for ViewportDesc
Source§impl Default for ViewportDesc
impl Default for ViewportDesc
Source§impl PartialEq for ViewportDesc
impl PartialEq for ViewportDesc
impl StructuralPartialEq for ViewportDesc
Auto Trait Implementations§
impl Forget for ViewportDesc
impl Freeze for ViewportDesc
impl Move for ViewportDesc
impl RefUnwindSafe for ViewportDesc
impl Send for ViewportDesc
impl Sync for ViewportDesc
impl Unpin for ViewportDesc
impl UnsafeUnpin for ViewportDesc
impl UnwindSafe for ViewportDesc
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