Struct windows::Perception::Spatial::SpatialEntityStore
pub struct SpatialEntityStore(/* private fields */);
Implementations§
§impl SpatialEntityStore
impl SpatialEntityStore
pub fn SaveAsync<P0>(&self, entity: P0) -> Result<IAsyncAction>where
P0: IntoParam<SpatialEntity>,
pub fn RemoveAsync<P0>(&self, entity: P0) -> Result<IAsyncAction>where
P0: IntoParam<SpatialEntity>,
pub fn CreateEntityWatcher(&self) -> Result<SpatialEntityWatcher>
pub fn IsSupported() -> Result<bool>
pub fn TryGetForRemoteSystemSession<P0>(
session: P0
) -> Result<SpatialEntityStore>where
P0: IntoParam<RemoteSystemSession>,
Trait Implementations§
§impl Clone for SpatialEntityStore
impl Clone for SpatialEntityStore
§fn clone(&self) -> SpatialEntityStore
fn clone(&self) -> SpatialEntityStore
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for SpatialEntityStore
impl Debug for SpatialEntityStore
§impl From<&SpatialEntityStore> for &IInspectable
impl From<&SpatialEntityStore> for &IInspectable
§fn from(value: &SpatialEntityStore) -> Self
fn from(value: &SpatialEntityStore) -> Self
Converts to this type from the input type.
§impl From<&SpatialEntityStore> for &IUnknown
impl From<&SpatialEntityStore> for &IUnknown
§fn from(value: &SpatialEntityStore) -> Self
fn from(value: &SpatialEntityStore) -> Self
Converts to this type from the input type.
§impl From<SpatialEntityStore> for IInspectable
impl From<SpatialEntityStore> for IInspectable
§fn from(value: SpatialEntityStore) -> Self
fn from(value: SpatialEntityStore) -> Self
Converts to this type from the input type.
§impl From<SpatialEntityStore> for IUnknown
impl From<SpatialEntityStore> for IUnknown
§fn from(value: SpatialEntityStore) -> Self
fn from(value: SpatialEntityStore) -> Self
Converts to this type from the input type.
§impl Interface for SpatialEntityStore
impl Interface for SpatialEntityStore
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for SpatialEntityStore
impl PartialEq for SpatialEntityStore
§fn eq(&self, other: &SpatialEntityStore) -> bool
fn eq(&self, other: &SpatialEntityStore) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SpatialEntityStore
impl Send for SpatialEntityStore
impl StructuralPartialEq for SpatialEntityStore
impl Sync for SpatialEntityStore
Auto Trait Implementations§
impl RefUnwindSafe for SpatialEntityStore
impl Unpin for SpatialEntityStore
impl UnwindSafe for SpatialEntityStore
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