Struct windows::Perception::Spatial::SpatialAnchorExporter
pub struct SpatialAnchorExporter(/* private fields */);
Implementations§
§impl SpatialAnchorExporter
impl SpatialAnchorExporter
pub fn GetAnchorExportSufficiencyAsync<P0>(
&self,
anchor: P0,
purpose: SpatialAnchorExportPurpose
) -> Result<IAsyncOperation<SpatialAnchorExportSufficiency>>where
P0: IntoParam<SpatialAnchor>,
pub fn TryExportAnchorAsync<P0, P1>(
&self,
anchor: P0,
purpose: SpatialAnchorExportPurpose,
stream: P1
) -> Result<IAsyncOperation<bool>>where
P0: IntoParam<SpatialAnchor>,
P1: IntoParam<IOutputStream>,
pub fn GetDefault() -> Result<SpatialAnchorExporter>
pub fn RequestAccessAsync( ) -> Result<IAsyncOperation<SpatialPerceptionAccessStatus>>
Trait Implementations§
§impl Clone for SpatialAnchorExporter
impl Clone for SpatialAnchorExporter
§fn clone(&self) -> SpatialAnchorExporter
fn clone(&self) -> SpatialAnchorExporter
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 SpatialAnchorExporter
impl Debug for SpatialAnchorExporter
§impl From<&SpatialAnchorExporter> for &IInspectable
impl From<&SpatialAnchorExporter> for &IInspectable
§fn from(value: &SpatialAnchorExporter) -> Self
fn from(value: &SpatialAnchorExporter) -> Self
Converts to this type from the input type.
§impl From<&SpatialAnchorExporter> for &IUnknown
impl From<&SpatialAnchorExporter> for &IUnknown
§fn from(value: &SpatialAnchorExporter) -> Self
fn from(value: &SpatialAnchorExporter) -> Self
Converts to this type from the input type.
§impl From<SpatialAnchorExporter> for IInspectable
impl From<SpatialAnchorExporter> for IInspectable
§fn from(value: SpatialAnchorExporter) -> Self
fn from(value: SpatialAnchorExporter) -> Self
Converts to this type from the input type.
§impl From<SpatialAnchorExporter> for IUnknown
impl From<SpatialAnchorExporter> for IUnknown
§fn from(value: SpatialAnchorExporter) -> Self
fn from(value: SpatialAnchorExporter) -> Self
Converts to this type from the input type.
§impl Interface for SpatialAnchorExporter
impl Interface for SpatialAnchorExporter
§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 SpatialAnchorExporter
impl PartialEq for SpatialAnchorExporter
§fn eq(&self, other: &SpatialAnchorExporter) -> bool
fn eq(&self, other: &SpatialAnchorExporter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SpatialAnchorExporter
impl Send for SpatialAnchorExporter
impl StructuralPartialEq for SpatialAnchorExporter
impl Sync for SpatialAnchorExporter
Auto Trait Implementations§
impl RefUnwindSafe for SpatialAnchorExporter
impl Unpin for SpatialAnchorExporter
impl UnwindSafe for SpatialAnchorExporter
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