pub struct IPropertyValue(/* private fields */);
Implementations§
Source§impl IPropertyValue
impl IPropertyValue
pub fn Type(&self) -> Result<PropertyType>
pub fn IsNumericScalar(&self) -> Result<bool>
pub fn GetUInt8(&self) -> Result<u8>
pub fn GetInt16(&self) -> Result<i16>
pub fn GetUInt16(&self) -> Result<u16>
pub fn GetInt32(&self) -> Result<i32>
pub fn GetUInt32(&self) -> Result<u32>
pub fn GetInt64(&self) -> Result<i64>
pub fn GetUInt64(&self) -> Result<u64>
pub fn GetSingle(&self) -> Result<f32>
pub fn GetDouble(&self) -> Result<f64>
pub fn GetChar16(&self) -> Result<u16>
pub fn GetBoolean(&self) -> Result<bool>
pub fn GetString(&self) -> Result<HString>
pub fn GetGuid(&self) -> Result<Guid>
pub fn GetDateTime(&self) -> Result<DateTime>
pub fn GetTimeSpan(&self) -> Result<TimeSpan>
pub fn GetPoint(&self) -> Result<Point>
pub fn GetSize(&self) -> Result<Size>
pub fn GetRect(&self) -> Result<Rect>
pub fn GetUInt8Array(&self, value: &mut Array<u8>) -> Result<()>
pub fn GetInt16Array(&self, value: &mut Array<i16>) -> Result<()>
pub fn GetUInt16Array(&self, value: &mut Array<u16>) -> Result<()>
pub fn GetInt32Array(&self, value: &mut Array<i32>) -> Result<()>
pub fn GetUInt32Array(&self, value: &mut Array<u32>) -> Result<()>
pub fn GetInt64Array(&self, value: &mut Array<i64>) -> Result<()>
pub fn GetUInt64Array(&self, value: &mut Array<u64>) -> Result<()>
pub fn GetSingleArray(&self, value: &mut Array<f32>) -> Result<()>
pub fn GetDoubleArray(&self, value: &mut Array<f64>) -> Result<()>
pub fn GetChar16Array(&self, value: &mut Array<u16>) -> Result<()>
pub fn GetBooleanArray(&self, value: &mut Array<bool>) -> Result<()>
pub fn GetStringArray(&self, value: &mut Array<HString>) -> Result<()>
pub fn GetInspectableArray(&self, value: &mut Array<Object>) -> Result<()>
pub fn GetGuidArray(&self, value: &mut Array<Guid>) -> Result<()>
pub fn GetDateTimeArray(&self, value: &mut Array<DateTime>) -> Result<()>
pub fn GetTimeSpanArray(&self, value: &mut Array<TimeSpan>) -> Result<()>
pub fn GetPointArray(&self, value: &mut Array<Point>) -> Result<()>
pub fn GetSizeArray(&self, value: &mut Array<Size>) -> Result<()>
pub fn GetRectArray(&self, value: &mut Array<Rect>) -> Result<()>
Trait Implementations§
Source§impl Clone for IPropertyValue
impl Clone for IPropertyValue
Source§fn clone(&self) -> IPropertyValue
fn clone(&self) -> IPropertyValue
Returns a duplicate 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 moreSource§impl Debug for IPropertyValue
impl Debug for IPropertyValue
Source§impl From<&IPropertyValue> for Object
impl From<&IPropertyValue> for Object
Source§fn from(value: &IPropertyValue) -> Self
fn from(value: &IPropertyValue) -> Self
Converts to this type from the input type.
Source§impl<T: RuntimeType + 'static> From<&IReference<T>> for IPropertyValue
impl<T: RuntimeType + 'static> From<&IReference<T>> for IPropertyValue
Source§fn from(value: &IReference<T>) -> Self
fn from(value: &IReference<T>) -> Self
Converts to this type from the input type.
Source§impl<T: RuntimeType + 'static> From<&IReferenceArray<T>> for IPropertyValue
impl<T: RuntimeType + 'static> From<&IReferenceArray<T>> for IPropertyValue
Source§fn from(value: &IReferenceArray<T>) -> Self
fn from(value: &IReferenceArray<T>) -> Self
Converts to this type from the input type.
Source§impl From<IPropertyValue> for Object
impl From<IPropertyValue> for Object
Source§fn from(value: IPropertyValue) -> Self
fn from(value: IPropertyValue) -> Self
Converts to this type from the input type.
Source§impl<T: RuntimeType + 'static> From<IReference<T>> for IPropertyValue
impl<T: RuntimeType + 'static> From<IReference<T>> for IPropertyValue
Source§fn from(value: IReference<T>) -> Self
fn from(value: IReference<T>) -> Self
Converts to this type from the input type.
Source§impl<T: RuntimeType + 'static> From<IReferenceArray<T>> for IPropertyValue
impl<T: RuntimeType + 'static> From<IReferenceArray<T>> for IPropertyValue
Source§fn from(value: IReferenceArray<T>) -> Self
fn from(value: IReferenceArray<T>) -> Self
Converts to this type from the input type.
Source§impl Interface for IPropertyValue
impl Interface for IPropertyValue
const IID: Guid
type Vtable = IPropertyValue_abi
Source§impl<'a, T: RuntimeType + 'static> IntoParam<'a, IPropertyValue> for &'a IReference<T>
impl<'a, T: RuntimeType + 'static> IntoParam<'a, IPropertyValue> for &'a IReference<T>
fn into_param(self) -> Param<'a, IPropertyValue>
Source§impl<'a, T: RuntimeType + 'static> IntoParam<'a, IPropertyValue> for &'a IReferenceArray<T>
impl<'a, T: RuntimeType + 'static> IntoParam<'a, IPropertyValue> for &'a IReferenceArray<T>
fn into_param(self) -> Param<'a, IPropertyValue>
Source§impl<'a, T: RuntimeType + 'static> IntoParam<'a, IPropertyValue> for IReference<T>
impl<'a, T: RuntimeType + 'static> IntoParam<'a, IPropertyValue> for IReference<T>
fn into_param(self) -> Param<'a, IPropertyValue>
Source§impl<'a, T: RuntimeType + 'static> IntoParam<'a, IPropertyValue> for IReferenceArray<T>
impl<'a, T: RuntimeType + 'static> IntoParam<'a, IPropertyValue> for IReferenceArray<T>
fn into_param(self) -> Param<'a, IPropertyValue>
Source§impl<'a> IntoParam<'a, Object> for &'a IPropertyValue
impl<'a> IntoParam<'a, Object> for &'a IPropertyValue
fn into_param(self) -> Param<'a, Object>
Source§impl<'a> IntoParam<'a, Object> for IPropertyValue
impl<'a> IntoParam<'a, Object> for IPropertyValue
fn into_param(self) -> Param<'a, Object>
Source§impl PartialEq for IPropertyValue
impl PartialEq for IPropertyValue
Source§impl RuntimeType for IPropertyValue
impl RuntimeType for IPropertyValue
const SIGNATURE: ConstBuffer
type DefaultType = Option<IPropertyValue>
impl Eq for IPropertyValue
impl StructuralPartialEq for IPropertyValue
Auto Trait Implementations§
impl Freeze for IPropertyValue
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> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
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