[−][src]Struct azul_core::window::LogicalPosition
Fields
x: f32y: f32Implementations
impl LogicalPosition[src]
pub const fn new(x: f32, y: f32) -> Self[src]
pub const fn zero() -> Self[src]
pub fn to_physical(self, hidpi_factor: f32) -> PhysicalPosition<u32>[src]
Trait Implementations
impl Clone for LogicalPosition[src]
fn clone(&self) -> LogicalPosition[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for LogicalPosition[src]
impl Debug for LogicalPosition[src]
impl PartialEq<LogicalPosition> for LogicalPosition[src]
fn eq(&self, other: &LogicalPosition) -> bool[src]
fn ne(&self, other: &LogicalPosition) -> bool[src]
impl PartialOrd<LogicalPosition> for LogicalPosition[src]
fn partial_cmp(&self, other: &LogicalPosition) -> Option<Ordering>[src]
fn lt(&self, other: &LogicalPosition) -> bool[src]
fn le(&self, other: &LogicalPosition) -> bool[src]
fn gt(&self, other: &LogicalPosition) -> bool[src]
fn ge(&self, other: &LogicalPosition) -> bool[src]
impl StructuralPartialEq for LogicalPosition[src]
Auto Trait Implementations
impl RefUnwindSafe for LogicalPosition
impl Send for LogicalPosition
impl Sync for LogicalPosition
impl Unpin for LogicalPosition
impl UnwindSafe for LogicalPosition
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,