Enum citro3d::math::ScreenOrientation
source · pub enum ScreenOrientation {
Rotated,
None,
}
Expand description
Whether to rotate a projection to account for the 3DS screen orientation. Both screens on the 3DS are oriented such that the “top-left” of the screen in framebuffer coordinates is the physical bottom-left of the screen (i.e. the “width” is smaller than the “height”).
Variants§
Rotated
Rotate 90° clockwise to account for the 3DS screen rotation. Most applications will use this variant.
None
Do not apply any extra rotation to the projection.
Trait Implementations§
source§impl Clone for ScreenOrientation
impl Clone for ScreenOrientation
source§fn clone(&self) -> ScreenOrientation
fn clone(&self) -> ScreenOrientation
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ScreenOrientation
impl Debug for ScreenOrientation
source§impl Default for ScreenOrientation
impl Default for ScreenOrientation
impl Copy for ScreenOrientation
Auto Trait Implementations§
impl RefUnwindSafe for ScreenOrientation
impl Send for ScreenOrientation
impl Sync for ScreenOrientation
impl Unpin for ScreenOrientation
impl UnwindSafe for ScreenOrientation
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more