pub struct PropertyState {
pub metadata: PropertyMetadata,
pub current_value: Option<PropertyValue>,
pub default_value: Option<PropertyValue>,
}Expand description
Current/default values associated with one runtime-discovered property. Action-only properties such as buttons intentionally have no data value while retaining their metadata.
Fields§
§metadata: PropertyMetadata§current_value: Option<PropertyValue>§default_value: Option<PropertyValue>Trait Implementations§
Source§impl Clone for PropertyState
impl Clone for PropertyState
Source§impl Debug for PropertyState
impl Debug for PropertyState
Source§impl PartialEq for PropertyState
impl PartialEq for PropertyState
impl StructuralPartialEq for PropertyState
Auto Trait Implementations§
impl Forget for PropertyState
impl Freeze for PropertyStatewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ListItem>: Freeze,
PhantomData<FrameRateOption>: Freeze,
PhantomData<FrameRateRange>: Freeze,
PhantomData<PropertyMetadata>: Freeze,
PhantomData<EditableListEntry>: Freeze,
impl Move for PropertyState
impl RefUnwindSafe for PropertyState
impl Send for PropertyStatewhere
RawVecInner: Send,
impl Sync for PropertyStatewhere
RawVecInner: Sync,
impl Unpin for PropertyState
impl UnsafeUnpin for PropertyState
impl UnwindSafe for PropertyStatewhere
RawVecInner: UnwindSafe,
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