pub struct PropValue<'a> {
pub tag: PropTag,
pub value: PropValueData<'a>,
}Expand description
Wrapper for a sys::SPropValue structure which allows pattern matching on PropValueData.
Fields§
§tag: PropTag§value: PropValueData<'a>Trait Implementations§
Source§impl<'a> From<&'a SPropValue> for PropValue<'a>
impl<'a> From<&'a SPropValue> for PropValue<'a>
Source§fn from(value: &SPropValue) -> Self
fn from(value: &SPropValue) -> Self
Convert a sys::SPropValue reference into a friendlier PropValue type, which often
supports safe access to the sys::SPropValue::Value union.
Auto Trait Implementations§
impl<'a> Freeze for PropValue<'a>
impl<'a> RefUnwindSafe for PropValue<'a>
impl<'a> !Send for PropValue<'a>
impl<'a> !Sync for PropValue<'a>
impl<'a> Unpin for PropValue<'a>
impl<'a> UnwindSafe for PropValue<'a>
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