Struct winsafe::NMOBJECTNOTIFY

source ·
#[repr(C)]
pub struct NMOBJECTNOTIFY<'a> { pub hdr: NMHDR, pub iItem: i32, pub hrResult: HRESULT, pub dwFlags: u32, /* private fields */ }
Available on crate feature comctl only.
Expand description

Fields§

§hdr: NMHDR§iItem: i32§hrResult: HRESULT§dwFlags: u32

Implementations§

source§

impl<'a> NMOBJECTNOTIFY<'a>

source

pub fn piid(&self) -> Option<&'a mut IID>

Returns the pointer field.

source

pub fn set_piid(&mut self, obj: Option<&'a mut IID>)

Sets the pointer field.

source

pub fn Object<T>(&self) -> Option<T>
where T: ole_IUnknown,

Returns the COM object field, by cloning the underlying COM pointer.

source

pub fn set_Object<T>(&mut self, obj: Option<&T>)
where T: ole_IUnknown,

Sets the COM object field, by cloning the underlying COM pointer.

Trait Implementations§

source§

impl<'a> Default for NMOBJECTNOTIFY<'a>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'a> Drop for NMOBJECTNOTIFY<'a>

source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for NMOBJECTNOTIFY<'a>

§

impl<'a> RefUnwindSafe for NMOBJECTNOTIFY<'a>

§

impl<'a> !Send for NMOBJECTNOTIFY<'a>

§

impl<'a> !Sync for NMOBJECTNOTIFY<'a>

§

impl<'a> Unpin for NMOBJECTNOTIFY<'a>

§

impl<'a> !UnwindSafe for NMOBJECTNOTIFY<'a>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.