-
Notifications
You must be signed in to change notification settings - Fork 512
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # crates/libs/bindgen/src/rust/mod.rs # crates/libs/bindgen/src/rust/standalone.rs # crates/libs/bindgen/src/rust/structs.rs # crates/tests/standalone/build.rs
- Loading branch information
1 parent
503dd9f
commit 1b01493
Showing
8 changed files
with
152 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
// Bindings generated by `windows-bindgen` 0.54.0 | ||
|
||
#![allow( | ||
non_snake_case, | ||
non_upper_case_globals, | ||
non_camel_case_types, | ||
dead_code, | ||
clippy::all | ||
)] | ||
#[repr(C)] | ||
#[derive(::core::cmp::PartialOrd, ::core::cmp::Ord)] | ||
pub struct DateTime { | ||
pub UniversalTime: i64, | ||
} | ||
impl ::core::marker::Copy for DateTime {} | ||
impl ::core::clone::Clone for DateTime { | ||
fn clone(&self) -> Self { | ||
*self | ||
} | ||
} | ||
impl ::core::fmt::Debug for DateTime { | ||
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | ||
f.debug_struct("DateTime") | ||
.field("UniversalTime", &self.UniversalTime) | ||
.finish() | ||
} | ||
} | ||
impl ::windows_core::TypeKind for DateTime { | ||
type TypeKind = ::windows_core::CopyType; | ||
} | ||
impl ::windows_core::RuntimeType for DateTime { | ||
const SIGNATURE: ::windows_core::imp::ConstBuffer = | ||
::windows_core::imp::ConstBuffer::from_slice(b"struct(Windows.Foundation.DateTime;i8)"); | ||
} | ||
impl ::core::cmp::PartialEq for DateTime { | ||
fn eq(&self, other: &Self) -> bool { | ||
self.UniversalTime == other.UniversalTime | ||
} | ||
} | ||
impl ::core::cmp::Eq for DateTime {} | ||
impl ::core::default::Default for DateTime { | ||
fn default() -> Self { | ||
unsafe { ::core::mem::zeroed() } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters