pub struct Object { /* private fields */ }
Expand description
Notification data object.
Implementations§
Source§impl Object
impl Object
Sourcepub fn try_transmute<T: SimConnectObjectExt, I>(
&self,
) -> Result<I, SimConnectError>
pub fn try_transmute<T: SimConnectObjectExt, I>( &self, ) -> Result<I, SimConnectError>
Try and transmute this SimConnect object as a T
struct.
§Errors
crate::SimConnectError::ObjectMismatch
– The type of this SimConnect object is different fromT
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Object
impl RefUnwindSafe for Object
impl !Send for Object
impl !Sync for Object
impl Unpin for Object
impl UnwindSafe for Object
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more