pub enum Orientation {
Portrait,
PortraitUpsideDown,
LandscapeLeft,
LandscapeRight,
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for Orientation
impl Clone for Orientation
impl Copy for Orientation
Source§impl Debug for Orientation
impl Debug for Orientation
impl Eq for Orientation
Source§impl From<LandscapeLeft> for Orientation
impl From<LandscapeLeft> for Orientation
Source§fn from(_: LandscapeLeft) -> Self
fn from(_: LandscapeLeft) -> Self
Converts to this type from the input type.
Source§impl From<LandscapeRight> for Orientation
impl From<LandscapeRight> for Orientation
Source§fn from(_: LandscapeRight) -> Self
fn from(_: LandscapeRight) -> Self
Converts to this type from the input type.
Source§impl From<Portrait> for Orientation
impl From<Portrait> for Orientation
Source§impl From<PortraitUpsideDown> for Orientation
impl From<PortraitUpsideDown> for Orientation
Source§fn from(_: PortraitUpsideDown) -> Self
fn from(_: PortraitUpsideDown) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Orientation
impl PartialEq for Orientation
impl StructuralPartialEq for Orientation
Auto Trait Implementations§
impl Freeze for Orientation
impl RefUnwindSafe for Orientation
impl Send for Orientation
impl Sync for Orientation
impl Unpin for Orientation
impl UnsafeUnpin for Orientation
impl UnwindSafe for Orientation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more