Docs.rs
witas-0.10.1
witas 0.10.1
Docs.rs crate page
MIT
Links
Documentation
Repository
crates.io
Source
Owners
LNSEAB
Dependencies
coinit ^0.1.12
normal
num ^0.4.1
normal
once_cell ^1.18.0
normal
serde ^1.0.183
normal
thiserror ^1.0.47
normal
tokio ^1.32.0
normal
windows ^0.51.1
normal
windows ^0.51.1
dev
Versions
7.54%
of the crate is documented
Go to latest version
Platform
x86_64-pc-windows-msvc
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
PhysicalRect
Trait Implementations
From<RECT>
ToLogical<T>
ToPhysical<T>
In witas
?
Type Definition
witas
::
PhysicalRect
source
·
[
−
]
pub type PhysicalRect<T> =
Rect
<T,
Physical
>;
Expand description
A rectangle in physical coordinate.
Trait Implementations
§
source
§
impl
From
<
RECT
> for
PhysicalRect
<
i32
>
source
§
fn
from
(src:
RECT
) -> Self
Converts to this type from the input type.
source
§
impl<T>
ToLogical
<T> for
PhysicalRect
<T>
where T:
Num
+
NumCast
+
Copy
,
§
type
Output
<U> =
Rect
<T,
Logical
>
source
§
fn
to_logical
(&self, dpi: T) -> Self::
Output
<T>
source
§
impl<T>
ToPhysical
<T> for
PhysicalRect
<T>
where T:
Copy
,
§
type
Output
<U> =
Rect
<U,
Physical
>
source
§
fn
to_physical
(&self, _dpi: T) -> Self::
Output
<T>