#[non_exhaustive]pub struct Res {
pub vertical: Ratio,
pub horizontal: Ratio,
}Expand description
One resolution: grid points per meter in each direction.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.vertical: RatioVertical grid points per meter (VRN, VRD, VRE).
horizontal: RatioHorizontal grid points per meter (HRN, HRD, HRE).
Trait Implementations§
impl Copy for Res
impl Eq for Res
impl StructuralPartialEq for Res
Auto Trait Implementations§
impl Forget for Res
impl Freeze for Res
impl Move for Res
impl RefUnwindSafe for Res
impl Send for Res
impl Sync for Res
impl Unpin for Res
impl UnsafeUnpin for Res
impl UnwindSafe for Res
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