pub struct MultiviewerAspectRatio(/* private fields */);Expand description
The aspect ratio a multiviewer scales its windows to.
Implementations§
Source§impl MultiviewerAspectRatio
impl MultiviewerAspectRatio
Sourcepub const RATIO_16_9: Self
pub const RATIO_16_9: Self
16:9.
Trait Implementations§
Source§impl Clone for MultiviewerAspectRatio
impl Clone for MultiviewerAspectRatio
Source§fn clone(&self) -> MultiviewerAspectRatio
fn clone(&self) -> MultiviewerAspectRatio
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MultiviewerAspectRatio
Source§impl Debug for MultiviewerAspectRatio
impl Debug for MultiviewerAspectRatio
Source§impl Default for MultiviewerAspectRatio
impl Default for MultiviewerAspectRatio
Source§fn default() -> MultiviewerAspectRatio
fn default() -> MultiviewerAspectRatio
Returns the “default value” for a type. Read more
impl Eq for MultiviewerAspectRatio
Source§impl Hash for MultiviewerAspectRatio
impl Hash for MultiviewerAspectRatio
Source§impl Ord for MultiviewerAspectRatio
impl Ord for MultiviewerAspectRatio
Source§fn cmp(&self, other: &MultiviewerAspectRatio) -> Ordering
fn cmp(&self, other: &MultiviewerAspectRatio) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for MultiviewerAspectRatio
impl PartialEq for MultiviewerAspectRatio
Source§impl PartialOrd for MultiviewerAspectRatio
impl PartialOrd for MultiviewerAspectRatio
impl StructuralPartialEq for MultiviewerAspectRatio
Auto Trait Implementations§
impl Freeze for MultiviewerAspectRatio
impl RefUnwindSafe for MultiviewerAspectRatio
impl Send for MultiviewerAspectRatio
impl Sync for MultiviewerAspectRatio
impl Unpin for MultiviewerAspectRatio
impl UnsafeUnpin for MultiviewerAspectRatio
impl UnwindSafe for MultiviewerAspectRatio
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