pub enum PortraitLandscapeOrientation {
PortraitUp,
PortraitDown,
LandscapeRight,
LandscapeLeft,
}
Expand description
Portrait/Landscape orientation
Variants
PortraitUp
Equipment is standing vertically in the normal orientation (default)
PortraitDown
Equipment is standing vertically in the inverted orientation
LandscapeRight
Equipment is standing in landscape mode to the right
LandscapeLeft
Equipment is standing in landscape mode to the left
Trait Implementations
sourceimpl Clone for PortraitLandscapeOrientation
impl Clone for PortraitLandscapeOrientation
sourcefn clone(&self) -> PortraitLandscapeOrientation
fn clone(&self) -> PortraitLandscapeOrientation
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 more
sourceimpl Debug for PortraitLandscapeOrientation
impl Debug for PortraitLandscapeOrientation
sourceimpl PartialEq<PortraitLandscapeOrientation> for PortraitLandscapeOrientation
impl PartialEq<PortraitLandscapeOrientation> for PortraitLandscapeOrientation
sourcefn eq(&self, other: &PortraitLandscapeOrientation) -> bool
fn eq(&self, other: &PortraitLandscapeOrientation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for PortraitLandscapeOrientation
impl Eq for PortraitLandscapeOrientation
impl StructuralEq for PortraitLandscapeOrientation
impl StructuralPartialEq for PortraitLandscapeOrientation
Auto Trait Implementations
impl RefUnwindSafe for PortraitLandscapeOrientation
impl Send for PortraitLandscapeOrientation
impl Sync for PortraitLandscapeOrientation
impl Unpin for PortraitLandscapeOrientation
impl UnwindSafe for PortraitLandscapeOrientation
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