pub enum PmiProjection {
Orthographic {
half_height: f64,
},
Perspective {
fov_y_deg: f64,
},
}Variants§
Trait Implementations§
Source§impl Clone for PmiProjection
impl Clone for PmiProjection
Source§fn clone(&self) -> PmiProjection
fn clone(&self) -> PmiProjection
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 moreSource§impl Debug for PmiProjection
impl Debug for PmiProjection
Source§impl<'de> Deserialize<'de> for PmiProjection
impl<'de> Deserialize<'de> for PmiProjection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PmiProjection
impl PartialEq for PmiProjection
Source§impl Serialize for PmiProjection
impl Serialize for PmiProjection
impl StructuralPartialEq for PmiProjection
Auto Trait Implementations§
impl Freeze for PmiProjection
impl RefUnwindSafe for PmiProjection
impl Send for PmiProjection
impl Sync for PmiProjection
impl Unpin for PmiProjection
impl UnsafeUnpin for PmiProjection
impl UnwindSafe for PmiProjection
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