windows 0.44.0

Rust for Windows
Documentation
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct HCS_CALLBACK(pub isize);
impl HCS_CALLBACK {
    pub fn is_invalid(&self) -> bool {
        self.0 == -1 || self.0 == 0
    }
}
impl ::core::default::Default for HCS_CALLBACK {
    fn default() -> Self {
        unsafe { ::core::mem::zeroed() }
    }
}
impl ::core::clone::Clone for HCS_CALLBACK {
    fn clone(&self) -> Self {
        *self
    }
}
impl ::core::marker::Copy for HCS_CALLBACK {}
impl ::core::fmt::Debug for HCS_CALLBACK {
    fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
        f.debug_tuple("HCS_CALLBACK").field(&self.0).finish()
    }
}
impl ::core::convert::From<::core::option::Option<HCS_CALLBACK>> for HCS_CALLBACK {
    fn from(optional: ::core::option::Option<HCS_CALLBACK>) -> HCS_CALLBACK {
        optional.unwrap_or_default()
    }
}
unsafe impl ::windows::core::Abi for HCS_CALLBACK {
    type Abi = Self;
}
#[cfg(feature = "implement")]
::core::include!("impl.rs");