Struct windows::Foundation::PropertyValue

pub struct PropertyValue;

Implementations§

§

impl PropertyValue

pub fn CreateEmpty() -> Result<IInspectable>

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

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

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

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

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

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

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

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

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

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

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

pub fn CreateString(value: &HSTRING) -> Result<IInspectable>

pub fn CreateInspectable<P0>(value: P0) -> Result<IInspectable>
where P0: Param<IInspectable>,

pub fn CreateGuid(value: GUID) -> Result<IInspectable>

pub fn CreateDateTime(value: DateTime) -> Result<IInspectable>

pub fn CreateTimeSpan(value: TimeSpan) -> Result<IInspectable>

pub fn CreatePoint(value: Point) -> Result<IInspectable>

pub fn CreateSize(value: Size) -> Result<IInspectable>

pub fn CreateRect(value: Rect) -> Result<IInspectable>

pub fn CreateUInt8Array(value: &[u8]) -> Result<IInspectable>

pub fn CreateInt16Array(value: &[i16]) -> Result<IInspectable>

pub fn CreateUInt16Array(value: &[u16]) -> Result<IInspectable>

pub fn CreateInt32Array(value: &[i32]) -> Result<IInspectable>

pub fn CreateUInt32Array(value: &[u32]) -> Result<IInspectable>

pub fn CreateInt64Array(value: &[i64]) -> Result<IInspectable>

pub fn CreateUInt64Array(value: &[u64]) -> Result<IInspectable>

pub fn CreateSingleArray(value: &[f32]) -> Result<IInspectable>

pub fn CreateDoubleArray(value: &[f64]) -> Result<IInspectable>

pub fn CreateChar16Array(value: &[u16]) -> Result<IInspectable>

pub fn CreateBooleanArray(value: &[bool]) -> Result<IInspectable>

pub fn CreateStringArray(value: &[HSTRING]) -> Result<IInspectable>

pub fn CreateInspectableArray( value: &[Option<IInspectable>], ) -> Result<IInspectable>

pub fn CreateGuidArray(value: &[GUID]) -> Result<IInspectable>

pub fn CreateDateTimeArray(value: &[DateTime]) -> Result<IInspectable>

pub fn CreateTimeSpanArray(value: &[TimeSpan]) -> Result<IInspectable>

pub fn CreatePointArray(value: &[Point]) -> Result<IInspectable>

pub fn CreateSizeArray(value: &[Size]) -> Result<IInspectable>

pub fn CreateRectArray(value: &[Rect]) -> Result<IInspectable>

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>,

§

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>,

§

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.