pub struct SettingsSnapshot { /* private fields */ }Expand description
A form-ready settings view containing dynamic metadata plus current/default values.
Implementations§
Source§impl SettingsSnapshot
impl SettingsSnapshot
pub fn schema(&self) -> &SettingsSchema
pub fn states(&self) -> &[PropertyState]
pub fn state(&self, name: &str) -> Option<&PropertyState>
Trait Implementations§
Source§impl Clone for SettingsSnapshot
impl Clone for SettingsSnapshot
Source§impl Debug for SettingsSnapshot
impl Debug for SettingsSnapshot
Source§impl PartialEq for SettingsSnapshot
impl PartialEq for SettingsSnapshot
impl StructuralPartialEq for SettingsSnapshot
Auto Trait Implementations§
impl Forget for SettingsSnapshot
impl Freeze for SettingsSnapshotwhere
*const u8 is !null: Freeze,
PhantomData<PropertyMetadata>: Freeze,
PhantomData<PropertyState>: Freeze,
impl Move for SettingsSnapshot
impl RefUnwindSafe for SettingsSnapshot
impl Send for SettingsSnapshotwhere
RawVecInner: Send,
impl Sync for SettingsSnapshotwhere
RawVecInner: Sync,
impl Unpin for SettingsSnapshot
impl UnsafeUnpin for SettingsSnapshotwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<PropertyMetadata>: UnsafeUnpin,
PhantomData<PropertyState>: UnsafeUnpin,
impl UnwindSafe for SettingsSnapshotwhere
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