Enum flipper0::ffi::ViewPortOrientation
source · #[non_exhaustive]
pub enum ViewPortOrientation {
ViewPortOrientationHorizontal,
ViewPortOrientationHorizontalFlip,
ViewPortOrientationVertical,
ViewPortOrientationVerticalFlip,
ViewPortOrientationMAX,
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ViewPortOrientationHorizontal
ViewPortOrientationHorizontalFlip
ViewPortOrientationVertical
ViewPortOrientationVerticalFlip
ViewPortOrientationMAX
< Special value, don’t use it
Trait Implementations
sourceimpl Clone for ViewPortOrientation
impl Clone for ViewPortOrientation
sourcefn clone(&self) -> ViewPortOrientation
fn clone(&self) -> ViewPortOrientation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ViewPortOrientation
impl Debug for ViewPortOrientation
sourceimpl Hash for ViewPortOrientation
impl Hash for ViewPortOrientation
sourceimpl PartialEq<ViewPortOrientation> for ViewPortOrientation
impl PartialEq<ViewPortOrientation> for ViewPortOrientation
sourcefn eq(&self, other: &ViewPortOrientation) -> bool
fn eq(&self, other: &ViewPortOrientation) -> bool
impl Eq for ViewPortOrientation
impl StructuralEq for ViewPortOrientation
impl StructuralPartialEq for ViewPortOrientation
Auto Trait Implementations
impl RefUnwindSafe for ViewPortOrientation
impl Send for ViewPortOrientation
impl Sync for ViewPortOrientation
impl Unpin for ViewPortOrientation
impl UnwindSafe for ViewPortOrientation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more