Enum flipper0::ffi::ViewOrientation
source · #[non_exhaustive]
pub enum ViewOrientation {
ViewOrientationHorizontal,
ViewOrientationHorizontalFlip,
ViewOrientationVertical,
ViewOrientationVerticalFlip,
}
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.
ViewOrientationHorizontal
ViewOrientationHorizontalFlip
ViewOrientationVertical
ViewOrientationVerticalFlip
Trait Implementations
sourceimpl Clone for ViewOrientation
impl Clone for ViewOrientation
sourcefn clone(&self) -> ViewOrientation
fn clone(&self) -> ViewOrientation
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 ViewOrientation
impl Debug for ViewOrientation
sourceimpl Hash for ViewOrientation
impl Hash for ViewOrientation
sourceimpl PartialEq<ViewOrientation> for ViewOrientation
impl PartialEq<ViewOrientation> for ViewOrientation
sourcefn eq(&self, other: &ViewOrientation) -> bool
fn eq(&self, other: &ViewOrientation) -> bool
impl Eq for ViewOrientation
impl StructuralEq for ViewOrientation
impl StructuralPartialEq for ViewOrientation
Auto Trait Implementations
impl RefUnwindSafe for ViewOrientation
impl Send for ViewOrientation
impl Sync for ViewOrientation
impl Unpin for ViewOrientation
impl UnwindSafe for ViewOrientation
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