Struct makepad_widgets::shader::std::windows::Foundation::IPropertyValue
#[repr(transparent)]pub struct IPropertyValue(/* private fields */);Expand description
Required features: "Foundation"
Implementations§
§impl IPropertyValue
impl IPropertyValue
pub fn Type(&self) -> Result<PropertyType, Error>
pub fn IsNumericScalar(&self) -> Result<bool, Error>
pub fn GetUInt8(&self) -> Result<u8, Error>
pub fn GetInt16(&self) -> Result<i16, Error>
pub fn GetUInt16(&self) -> Result<u16, Error>
pub fn GetInt32(&self) -> Result<i32, Error>
pub fn GetUInt32(&self) -> Result<u32, Error>
pub fn GetInt64(&self) -> Result<i64, Error>
pub fn GetUInt64(&self) -> Result<u64, Error>
pub fn GetSingle(&self) -> Result<f32, Error>
pub fn GetDouble(&self) -> Result<f64, Error>
pub fn GetChar16(&self) -> Result<u16, Error>
pub fn GetBoolean(&self) -> Result<bool, Error>
pub fn GetString(&self) -> Result<HSTRING, Error>
pub fn GetGuid(&self) -> Result<GUID, Error>
pub fn GetDateTime(&self) -> Result<DateTime, Error>
pub fn GetTimeSpan(&self) -> Result<TimeSpan, Error>
pub fn GetPoint(&self) -> Result<Point, Error>
pub fn GetSize(&self) -> Result<Size, Error>
pub fn GetRect(&self) -> Result<Rect, Error>
pub fn GetUInt8Array(&self, value: &mut Array<u8>) -> Result<(), Error>
pub fn GetInt16Array(&self, value: &mut Array<i16>) -> Result<(), Error>
pub fn GetUInt16Array(&self, value: &mut Array<u16>) -> Result<(), Error>
pub fn GetInt32Array(&self, value: &mut Array<i32>) -> Result<(), Error>
pub fn GetUInt32Array(&self, value: &mut Array<u32>) -> Result<(), Error>
pub fn GetInt64Array(&self, value: &mut Array<i64>) -> Result<(), Error>
pub fn GetUInt64Array(&self, value: &mut Array<u64>) -> Result<(), Error>
pub fn GetSingleArray(&self, value: &mut Array<f32>) -> Result<(), Error>
pub fn GetDoubleArray(&self, value: &mut Array<f64>) -> Result<(), Error>
pub fn GetChar16Array(&self, value: &mut Array<u16>) -> Result<(), Error>
pub fn GetBooleanArray(&self, value: &mut Array<bool>) -> Result<(), Error>
pub fn GetStringArray(&self, value: &mut Array<HSTRING>) -> Result<(), Error>
pub fn GetInspectableArray( &self, value: &mut Array<IInspectable> ) -> Result<(), Error>
pub fn GetGuidArray(&self, value: &mut Array<GUID>) -> Result<(), Error>
pub fn GetDateTimeArray(&self, value: &mut Array<DateTime>) -> Result<(), Error>
pub fn GetTimeSpanArray(&self, value: &mut Array<TimeSpan>) -> Result<(), Error>
pub fn GetPointArray(&self, value: &mut Array<Point>) -> Result<(), Error>
pub fn GetSizeArray(&self, value: &mut Array<Size>) -> Result<(), Error>
pub fn GetRectArray(&self, value: &mut Array<Rect>) -> Result<(), Error>
Trait Implementations§
§impl Clone for IPropertyValue
impl Clone for IPropertyValue
§fn clone(&self) -> IPropertyValue
fn clone(&self) -> IPropertyValue
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 ComInterface for IPropertyValue
impl ComInterface for IPropertyValue
fn as_unknown(&self) -> &IUnknown
§impl Debug for IPropertyValue
impl Debug for IPropertyValue
§impl Interface for IPropertyValue
impl Interface for IPropertyValue
type Vtable = IPropertyValue_Vtbl
§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.
§impl PartialEq<IPropertyValue> for IPropertyValue
impl PartialEq<IPropertyValue> for IPropertyValue
§fn eq(&self, other: &IPropertyValue) -> bool
fn eq(&self, other: &IPropertyValue) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for IPropertyValue
Auto Trait Implementations§
impl RefUnwindSafe for IPropertyValue
impl !Send for IPropertyValue
impl !Sync for IPropertyValue
impl Unpin for IPropertyValue
impl UnwindSafe for IPropertyValue
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