pub enum AspectRatioType {
Unknown,
FreeResizing,
KeepAspectRatio,
Fixed,
}
Expand description
Specify the possible modifications to the aspect ratio.
Variants§
Unknown
Unknown.
FreeResizing
Allow free resizing.
KeepAspectRatio
Keep the aspect ratio.
Fixed
Fixed size.
Trait Implementations§
source§impl Clone for AspectRatioType
impl Clone for AspectRatioType
source§fn clone(&self) -> AspectRatioType
fn clone(&self) -> AspectRatioType
Returns a copy 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 moresource§impl Debug for AspectRatioType
impl Debug for AspectRatioType
source§impl From<u64> for AspectRatioType
impl From<u64> for AspectRatioType
source§impl PartialEq<AspectRatioType> for AspectRatioType
impl PartialEq<AspectRatioType> for AspectRatioType
source§fn eq(&self, other: &AspectRatioType) -> bool
fn eq(&self, other: &AspectRatioType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AspectRatioType
impl Eq for AspectRatioType
impl StructuralEq for AspectRatioType
impl StructuralPartialEq for AspectRatioType
Auto Trait Implementations§
impl RefUnwindSafe for AspectRatioType
impl Send for AspectRatioType
impl Sync for AspectRatioType
impl Unpin for AspectRatioType
impl UnwindSafe for AspectRatioType
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