#[non_exhaustive]pub enum ResolutionRatio {
TwoToOne,
OneAndAHalfToOne,
}Expand description
The ratio between the resolutions of two neighbouring spatial layers.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ResolutionRatio
impl Clone for ResolutionRatio
impl Copy for ResolutionRatio
Source§impl Debug for ResolutionRatio
impl Debug for ResolutionRatio
impl Eq for ResolutionRatio
Source§impl Hash for ResolutionRatio
impl Hash for ResolutionRatio
Source§impl PartialEq for ResolutionRatio
impl PartialEq for ResolutionRatio
impl StructuralPartialEq for ResolutionRatio
Auto Trait Implementations§
impl Forget for ResolutionRatio
impl Freeze for ResolutionRatio
impl Move for ResolutionRatio
impl RefUnwindSafe for ResolutionRatio
impl Send for ResolutionRatio
impl Sync for ResolutionRatio
impl Unpin for ResolutionRatio
impl UnsafeUnpin for ResolutionRatio
impl UnwindSafe for ResolutionRatio
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