Docs.rs
dear-imgui-sys-0.8.0
dear-imgui-sys 0.8.0
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
Latias94
Dependencies
dear-imgui-build-support ^0.1
normal
optional
cfg-if ^1.0
normal
flate2 ^1
normal
optional
glam ^0.30
normal
optional
mint ^0.5.6
normal
tar ^0.4
normal
optional
bindgen ^0.72
build
dear-imgui-build-support ^0.1
build
cc ^1.2
build
cmake ^0.1
build
flate2 ^1
build
pkg-config ^0.3
build
optional
tar ^0.4
build
xshell ^0.2
build
Versions
0.08%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
ImVec2
dear_
imgui_
sys
0.8.0
ImVec2
Aliased Type
Fields
x
y
Methods
new
zero
Trait Implementations
From<(f32, f32)>
From<Vector2<f32>>
From<[f32; 2]>
In crate dear_
imgui_
sys
dear_imgui_sys
Type Alias
ImVec2
Copy item path
Source
pub type ImVec2 =
ImVec2_c
;
Aliased Type
§
#[repr(C)]
pub struct ImVec2 { pub x:
f32
, pub y:
f32
, }
Fields
§
§
x:
f32
§
y:
f32
Implementations
§
Source
§
impl
ImVec2
Source
pub const fn
new
(x:
f32
, y:
f32
) ->
ImVec2
Source
pub const fn
zero
() ->
ImVec2
Trait Implementations
§
Source
§
impl
From
<[
f32
;
2
]> for
ImVec2
Source
§
fn
from
(array: [
f32
;
2
]) ->
ImVec2
Converts to this type from the input type.
Source
§
impl
From
<(
f32
,
f32
)> for
ImVec2
Source
§
fn
from
((x, y): (
f32
,
f32
)) ->
ImVec2
Converts to this type from the input type.
Source
§
impl
From
<
Vector2
<
f32
>> for
ImVec2
Source
§
fn
from
(v:
Vector2
<
f32
>) ->
ImVec2
Converts to this type from the input type.