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 duplicate 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 Freeze for ScreenOrientation
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
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)