Struct windows::Devices::Geolocation::Geopath
pub struct Geopath(/* private fields */);
Implementations§
§impl Geopath
impl Geopath
pub fn Positions(&self) -> Result<IVectorView<BasicGeoposition>>
pub fn Create<P0>(positions: P0) -> Result<Geopath>where
P0: IntoParam<IIterable<BasicGeoposition>>,
pub fn CreateWithAltitudeReference<P0>(
positions: P0,
altitudereferencesystem: AltitudeReferenceSystem
) -> Result<Geopath>where
P0: IntoParam<IIterable<BasicGeoposition>>,
pub fn CreateWithAltitudeReferenceAndSpatialReference<P0>(
positions: P0,
altitudereferencesystem: AltitudeReferenceSystem,
spatialreferenceid: u32
) -> Result<Geopath>where
P0: IntoParam<IIterable<BasicGeoposition>>,
pub fn GeoshapeType(&self) -> Result<GeoshapeType>
pub fn SpatialReferenceId(&self) -> Result<u32>
pub fn AltitudeReferenceSystem(&self) -> Result<AltitudeReferenceSystem>
Trait Implementations§
§impl From<&Geopath> for &IInspectable
impl From<&Geopath> for &IInspectable
§impl From<Geopath> for IInspectable
impl From<Geopath> for IInspectable
§impl Interface for Geopath
impl Interface for Geopath
§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 moreimpl Eq for Geopath
impl Send for Geopath
impl StructuralPartialEq for Geopath
impl Sync for Geopath
Auto Trait Implementations§
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