[−][src]Struct azul_core::window::LogicalSize
Fields
width: f32
height: f32
Implementations
impl LogicalSize
[src]
pub const fn new(width: f32, height: f32) -> Self
[src]
pub const fn zero() -> Self
[src]
pub fn to_physical(self, hidpi_factor: f32) -> PhysicalSize<u32>
[src]
Trait Implementations
impl Clone for LogicalSize
[src]
fn clone(&self) -> LogicalSize
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for LogicalSize
[src]
impl Debug for LogicalSize
[src]
impl PartialEq<LogicalSize> for LogicalSize
[src]
fn eq(&self, other: &LogicalSize) -> bool
[src]
fn ne(&self, other: &LogicalSize) -> bool
[src]
impl PartialOrd<LogicalSize> for LogicalSize
[src]
fn partial_cmp(&self, other: &LogicalSize) -> Option<Ordering>
[src]
fn lt(&self, other: &LogicalSize) -> bool
[src]
fn le(&self, other: &LogicalSize) -> bool
[src]
fn gt(&self, other: &LogicalSize) -> bool
[src]
fn ge(&self, other: &LogicalSize) -> bool
[src]
impl StructuralPartialEq for LogicalSize
[src]
Auto Trait Implementations
impl RefUnwindSafe for LogicalSize
impl Send for LogicalSize
impl Sync for LogicalSize
impl Unpin for LogicalSize
impl UnwindSafe for LogicalSize
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>,