Struct widgetry::ScreenDims [−][src]
ScreenDims is in units of logical pixels, as opposed to physical pixels.
Fields
width: f64
height: f64
Implementations
impl ScreenDims
[src]
impl ScreenDims
[src]Trait Implementations
impl Clone for ScreenDims
[src]
impl Clone for ScreenDims
[src]fn clone(&self) -> ScreenDims
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for ScreenDims
[src]
impl<'de> Deserialize<'de> for ScreenDims
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<LogicalSize<f64>> for ScreenDims
[src]
impl From<LogicalSize<f64>> for ScreenDims
[src]fn from(size: LogicalSize<f64>) -> ScreenDims
[src]
impl From<ScreenDims> for LogicalSize<f64>
[src]
impl From<ScreenDims> for LogicalSize<f64>
[src]fn from(dims: ScreenDims) -> LogicalSize<f64>
[src]
impl From<ScreenDims> for Size<Dimension>
[src]
impl From<ScreenDims> for Size<Dimension>
[src]fn from(dims: ScreenDims) -> Self
[src]
impl From<f64> for ScreenDims
[src]
impl From<f64> for ScreenDims
[src]fn from(square: f64) -> ScreenDims
[src]
impl PartialEq<ScreenDims> for ScreenDims
[src]
impl PartialEq<ScreenDims> for ScreenDims
[src]fn eq(&self, other: &ScreenDims) -> bool
[src]
fn ne(&self, other: &ScreenDims) -> bool
[src]
impl Serialize for ScreenDims
[src]
impl Serialize for ScreenDims
[src]impl Copy for ScreenDims
[src]
impl StructuralPartialEq for ScreenDims
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScreenDims
impl Send for ScreenDims
impl Sync for ScreenDims
impl Unpin for ScreenDims
impl UnwindSafe for ScreenDims
Blanket Implementations
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,