Struct winrt::windows::foundation::IPropertyValueStatics
source · #[repr(C)]pub struct IPropertyValueStatics { /* private fields */ }
Implementations§
source§impl IPropertyValueStatics
impl IPropertyValueStatics
pub fn create_empty(&self) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_uint8(&self, value: u8) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_int16(&self, value: i16) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_uint16(&self, value: u16) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_int32(&self, value: i32) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_uint32(&self, value: u32) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_int64(&self, value: i64) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_uint64(&self, value: u64) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_single(&self, value: f32) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_double(&self, value: f64) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_char16(&self, value: Char) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_boolean(&self, value: bool) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_string(
&self,
value: &HStringArg
) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_inspectable(
&self,
value: &IInspectable
) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_guid(&self, value: Guid) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_date_time(
&self,
value: DateTime
) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_time_span(
&self,
value: TimeSpan
) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_point(&self, value: Point) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_size(&self, value: Size) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_rect(&self, value: Rect) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_uint8_array(
&self,
value: &[u8]
) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_int16_array(
&self,
value: &[i16]
) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_uint16_array(
&self,
value: &[u16]
) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_int32_array(
&self,
value: &[i32]
) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_uint32_array(
&self,
value: &[u32]
) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_int64_array(
&self,
value: &[i64]
) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_uint64_array(
&self,
value: &[u64]
) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_single_array(
&self,
value: &[f32]
) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_double_array(
&self,
value: &[f64]
) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_char16_array(
&self,
value: &[Char]
) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_boolean_array(
&self,
value: &[bool]
) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_string_array(
&self,
value: &[&HStringArg]
) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_inspectable_array(
&self,
value: &[&IInspectable]
) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_guid_array(
&self,
value: &[Guid]
) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_date_time_array(
&self,
value: &[DateTime]
) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_time_span_array(
&self,
value: &[TimeSpan]
) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_point_array(
&self,
value: &[Point]
) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_size_array(
&self,
value: &[Size]
) -> Result<Option<ComPtr<IInspectable>>>
pub fn create_rect_array(
&self,
value: &[Rect]
) -> Result<Option<ComPtr<IInspectable>>>
Methods from Deref<Target = IInspectable>§
sourcepub fn get_iids(&self) -> ComArray<Guid>
pub fn get_iids(&self) -> ComArray<Guid>
Returns the interfaces that are implemented by the current Windows Runtime object.
sourcepub fn get_trust_level(&self) -> TrustLevel
pub fn get_trust_level(&self) -> TrustLevel
Returns the trust level of the current Windows Runtime object.
Methods from Deref<Target = IUnknown>§
Trait Implementations§
source§impl ComInterface for IPropertyValueStatics
impl ComInterface for IPropertyValueStatics
source§impl Deref for IPropertyValueStatics
impl Deref for IPropertyValueStatics
§type Target = IInspectable
type Target = IInspectable
The resulting type after dereferencing.
source§fn deref(&self) -> &IInspectable
fn deref(&self) -> &IInspectable
Dereferences the value.
source§impl DerefMut for IPropertyValueStatics
impl DerefMut for IPropertyValueStatics
source§fn deref_mut(&mut self) -> &mut IInspectable
fn deref_mut(&mut self) -> &mut IInspectable
Mutably dereferences the value.
source§impl RtActivatable<IPropertyValueStatics> for PropertyValue
impl RtActivatable<IPropertyValueStatics> for PropertyValue
source§fn get_activation_factory() -> ComPtr<Interface>where
Interface: RtInterface + ComIid,
fn get_activation_factory() -> ComPtr<Interface>where
Interface: RtInterface + ComIid,
Returns a factory object to create instances of this class or to call static methods.