PropertyValue

Struct PropertyValue 

Source
pub struct PropertyValue {}

Implementations§

Source§

impl PropertyValue

Source

pub fn CreateEmpty() -> Result<Object>

Source

pub fn CreateUInt8(value: u8) -> Result<Object>

Source

pub fn CreateInt16(value: i16) -> Result<Object>

Source

pub fn CreateUInt16(value: u16) -> Result<Object>

Source

pub fn CreateInt32(value: i32) -> Result<Object>

Source

pub fn CreateUInt32(value: u32) -> Result<Object>

Source

pub fn CreateInt64(value: i64) -> Result<Object>

Source

pub fn CreateUInt64(value: u64) -> Result<Object>

Source

pub fn CreateSingle(value: f32) -> Result<Object>

Source

pub fn CreateDouble(value: f64) -> Result<Object>

Source

pub fn CreateChar16(value: u16) -> Result<Object>

Source

pub fn CreateBoolean(value: bool) -> Result<Object>

Source

pub fn CreateString<'a, T0__: IntoParam<'a, HString>>( value: T0__, ) -> Result<Object>

Source

pub fn CreateInspectable<'a, T0__: IntoParam<'a, Object>>( value: T0__, ) -> Result<Object>

Source

pub fn CreateGuid<'a, T0__: IntoParam<'a, Guid>>(value: T0__) -> Result<Object>

Source

pub fn CreateDateTime<'a, T0__: IntoParam<'a, DateTime>>( value: T0__, ) -> Result<Object>

Source

pub fn CreateTimeSpan<'a, T0__: IntoParam<'a, TimeSpan>>( value: T0__, ) -> Result<Object>

Source

pub fn CreatePoint<'a, T0__: IntoParam<'a, Point>>( value: T0__, ) -> Result<Object>

Source

pub fn CreateSize<'a, T0__: IntoParam<'a, Size>>(value: T0__) -> Result<Object>

Source

pub fn CreateRect<'a, T0__: IntoParam<'a, Rect>>(value: T0__) -> Result<Object>

Source

pub fn CreateUInt8Array( value: &[<u8 as RuntimeType>::DefaultType], ) -> Result<Object>

Source

pub fn CreateInt16Array( value: &[<i16 as RuntimeType>::DefaultType], ) -> Result<Object>

Source

pub fn CreateUInt16Array( value: &[<u16 as RuntimeType>::DefaultType], ) -> Result<Object>

Source

pub fn CreateInt32Array( value: &[<i32 as RuntimeType>::DefaultType], ) -> Result<Object>

Source

pub fn CreateUInt32Array( value: &[<u32 as RuntimeType>::DefaultType], ) -> Result<Object>

Source

pub fn CreateInt64Array( value: &[<i64 as RuntimeType>::DefaultType], ) -> Result<Object>

Source

pub fn CreateUInt64Array( value: &[<u64 as RuntimeType>::DefaultType], ) -> Result<Object>

Source

pub fn CreateSingleArray( value: &[<f32 as RuntimeType>::DefaultType], ) -> Result<Object>

Source

pub fn CreateDoubleArray( value: &[<f64 as RuntimeType>::DefaultType], ) -> Result<Object>

Source

pub fn CreateChar16Array( value: &[<u16 as RuntimeType>::DefaultType], ) -> Result<Object>

Source

pub fn CreateBooleanArray( value: &[<bool as RuntimeType>::DefaultType], ) -> Result<Object>

Source

pub fn CreateStringArray( value: &[<HString as RuntimeType>::DefaultType], ) -> Result<Object>

Source

pub fn CreateInspectableArray( value: &[<Object as RuntimeType>::DefaultType], ) -> Result<Object>

Source

pub fn CreateGuidArray( value: &[<Guid as RuntimeType>::DefaultType], ) -> Result<Object>

Source

pub fn CreateDateTimeArray( value: &[<DateTime as RuntimeType>::DefaultType], ) -> Result<Object>

Source

pub fn CreateTimeSpanArray( value: &[<TimeSpan as RuntimeType>::DefaultType], ) -> Result<Object>

Source

pub fn CreatePointArray( value: &[<Point as RuntimeType>::DefaultType], ) -> Result<Object>

Source

pub fn CreateSizeArray( value: &[<Size as RuntimeType>::DefaultType], ) -> Result<Object>

Source

pub fn CreateRectArray( value: &[<Rect as RuntimeType>::DefaultType], ) -> Result<Object>

Trait Implementations§

Source§

impl RuntimeName for PropertyValue

Source§

const NAME: &'static str = "Windows.Foundation.PropertyValue"

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.