pub struct PropertyMetadata {
pub name: String,
pub description: Option<String>,
pub long_description: Option<String>,
pub enabled: bool,
pub visible: bool,
pub kind: PropertyKind,
}Fields§
§name: String§description: Option<String>§long_description: Option<String>§enabled: bool§visible: bool§kind: PropertyKindImplementations§
Source§impl PropertyMetadata
impl PropertyMetadata
Sourcepub fn enabled_list_values(&self) -> Vec<PropertyValue>
pub fn enabled_list_values(&self) -> Vec<PropertyValue>
Returns all enabled values advertised by a list property in their generic typed form.
Trait Implementations§
Source§impl Clone for PropertyMetadata
impl Clone for PropertyMetadata
Source§impl Debug for PropertyMetadata
impl Debug for PropertyMetadata
Source§impl PartialEq for PropertyMetadata
impl PartialEq for PropertyMetadata
impl StructuralPartialEq for PropertyMetadata
Auto Trait Implementations§
impl Forget for PropertyMetadata
impl Freeze for PropertyMetadatawhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ListItem>: Freeze,
PhantomData<FrameRateOption>: Freeze,
PhantomData<FrameRateRange>: Freeze,
PhantomData<PropertyMetadata>: Freeze,
impl Move for PropertyMetadata
impl RefUnwindSafe for PropertyMetadata
impl Send for PropertyMetadatawhere
RawVecInner: Send,
impl Sync for PropertyMetadatawhere
RawVecInner: Sync,
impl Unpin for PropertyMetadata
impl UnsafeUnpin for PropertyMetadatawhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ListItem>: UnsafeUnpin,
PhantomData<FrameRateOption>: UnsafeUnpin,
PhantomData<FrameRateRange>: UnsafeUnpin,
PhantomData<PropertyMetadata>: UnsafeUnpin,
impl UnwindSafe for PropertyMetadatawhere
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