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§fn clone(&self) -> SettingsSnapshot
fn clone(&self) -> SettingsSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SettingsSnapshot
impl Debug for SettingsSnapshot
Source§impl PartialEq for SettingsSnapshot
impl PartialEq for SettingsSnapshot
impl StructuralPartialEq for SettingsSnapshot
Auto Trait Implementations§
impl Freeze for SettingsSnapshot
impl RefUnwindSafe for SettingsSnapshot
impl Send for SettingsSnapshot
impl Sync for SettingsSnapshot
impl Unpin for SettingsSnapshot
impl UnsafeUnpin for SettingsSnapshot
impl UnwindSafe for SettingsSnapshot
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