#[repr(u8)]pub enum ViewSize {
TopLCD = 7,
BottomLCD = 1,
Vga = 0,
QQVga = 2,
Cif = 3,
QCif = 4,
DS = 5,
DSX4 = 6,
}
Expand description
Size of the camera view.
See Camera::set_view_size()
to learn how to use this.
Variants§
TopLCD = 7
Size of the 3DS’ top screen. (400 × 240)
Useful if the image is meant to be displayed immediately.
BottomLCD = 1
Size of the 3DS’ bottom screen. (320 × 240)
Equivalent to QVga.
Vga = 0
VGA display size. (640 × 480)
QQVga = 2
QQVGA display size. (160 × 120)
Cif = 3
CIF display size. (352 × 288)
QCif = 4
QCIF display size. (176 × 144)
DS = 5
Nintendo DS Screen size. (256 × 192)
DSX4 = 6
Nintendo DS Screen size x4. (512 × 384)
Trait Implementations§
impl Copy for ViewSize
impl Eq for ViewSize
impl StructuralPartialEq for ViewSize
Auto Trait Implementations§
impl RefUnwindSafe for ViewSize
impl Send for ViewSize
impl Sync for ViewSize
impl Unpin for ViewSize
impl UnwindSafe for ViewSize
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