#[repr(C)]pub struct AxiolidView {
pub frame: AxiolidViewFrame,
pub near: f64,
pub far: f64,
pub projection: AxiolidProjection,
pub has_near: u8,
pub has_far: u8,
pub reserved: [u8; 2],
}Expand description
A view: frame, depth range and projection. near and far are read only
when their has_* flag is 1.
Fields§
§frame: AxiolidViewFrame§near: f64§far: f64§projection: AxiolidProjection§has_near: u8§has_far: u8§reserved: [u8; 2]Must be zero.
Trait Implementations§
Source§impl Clone for AxiolidView
impl Clone for AxiolidView
Source§fn clone(&self) -> AxiolidView
fn clone(&self) -> AxiolidView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AxiolidView
Source§impl Debug for AxiolidView
impl Debug for AxiolidView
Source§impl PartialEq for AxiolidView
impl PartialEq for AxiolidView
impl StructuralPartialEq for AxiolidView
Auto Trait Implementations§
impl Freeze for AxiolidView
impl RefUnwindSafe for AxiolidView
impl Send for AxiolidView
impl Sync for AxiolidView
impl Unpin for AxiolidView
impl UnsafeUnpin for AxiolidView
impl UnwindSafe for AxiolidView
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more