Enum ViewportOrientation
pub enum ViewportOrientation {
Portrait,
Landscape,
}Expand description
Viewport orientation.
Variants§
Trait Implementations§
§impl Clone for ViewportOrientation
impl Clone for ViewportOrientation
§fn clone(&self) -> ViewportOrientation
fn clone(&self) -> ViewportOrientation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ViewportOrientation
impl Debug for ViewportOrientation
§impl Hash for ViewportOrientation
impl Hash for ViewportOrientation
§impl Ord for ViewportOrientation
impl Ord for ViewportOrientation
§fn cmp(&self, other: &ViewportOrientation) -> Ordering
fn cmp(&self, other: &ViewportOrientation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for ViewportOrientation
impl PartialEq for ViewportOrientation
§impl PartialOrd for ViewportOrientation
impl PartialOrd for ViewportOrientation
impl Copy for ViewportOrientation
impl Eq for ViewportOrientation
impl StructuralPartialEq for ViewportOrientation
Auto Trait Implementations§
impl Freeze for ViewportOrientation
impl RefUnwindSafe for ViewportOrientation
impl Send for ViewportOrientation
impl Sync for ViewportOrientation
impl Unpin for ViewportOrientation
impl UnsafeUnpin for ViewportOrientation
impl UnwindSafe for ViewportOrientation
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