pub struct PhysicalPerLogical(/* private fields */);Expand description
Backend-stable physical texels per logical screen pixel.
A value below one represents a downsampled target and a value above one a native HiDPI or supersampled target. It is not a line width.
Implementations§
Source§impl PhysicalPerLogical
impl PhysicalPerLogical
Trait Implementations§
Source§impl Clone for PhysicalPerLogical
impl Clone for PhysicalPerLogical
Source§fn clone(&self) -> PhysicalPerLogical
fn clone(&self) -> PhysicalPerLogical
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 PhysicalPerLogical
Source§impl Debug for PhysicalPerLogical
impl Debug for PhysicalPerLogical
Source§impl PartialEq for PhysicalPerLogical
impl PartialEq for PhysicalPerLogical
Source§impl PartialOrd for PhysicalPerLogical
impl PartialOrd for PhysicalPerLogical
impl StructuralPartialEq for PhysicalPerLogical
Auto Trait Implementations§
impl Freeze for PhysicalPerLogical
impl RefUnwindSafe for PhysicalPerLogical
impl Send for PhysicalPerLogical
impl Sync for PhysicalPerLogical
impl Unpin for PhysicalPerLogical
impl UnsafeUnpin for PhysicalPerLogical
impl UnwindSafe for PhysicalPerLogical
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