Enum solstice_2d::Projection [−][src]
pub enum Projection { Orthographic(Option<Orthographic>), Perspective(Option<Perspective>), }
A None value means we will use the default projections of the given type
Variants
Orthographic(Option<Orthographic>)
Perspective(Option<Perspective>)
Trait Implementations
impl Clone for Projection
[src]
impl Clone for Projection
[src]fn clone(&self) -> Projection
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Projection
[src]
impl Copy for Projection
[src]impl PartialEq<Projection> for Projection
[src]
impl PartialEq<Projection> for Projection
[src]fn eq(&self, other: &Projection) -> bool
[src]
fn ne(&self, other: &Projection) -> bool
[src]
impl StructuralPartialEq for Projection
[src]
impl StructuralPartialEq for Projection
[src]Auto Trait Implementations
impl RefUnwindSafe for Projection
impl RefUnwindSafe for Projection
impl Send for Projection
impl Send for Projection
impl Sync for Projection
impl Sync for Projection
impl Unpin for Projection
impl Unpin for Projection
impl UnwindSafe for Projection
impl UnwindSafe for Projection
Blanket Implementations
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,