Struct simconnect_sdk::Object
source · [−]pub struct Object { /* private fields */ }Expand description
Notification data object.
Implementations
sourceimpl 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 RefUnwindSafe for Object
impl !Send for Object
impl !Sync for Object
impl Unpin for Object
impl UnwindSafe for Object
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more