pub struct SettingDescriptorV2 { /* private fields */ }Expand description
Immutable descriptor for one revision-2 setting.
Implementations§
Source§impl SettingDescriptorV2
impl SettingDescriptorV2
Sourcepub const fn id(&self) -> SettingIdV2
pub const fn id(&self) -> SettingIdV2
Stable setting id.
Sourcepub const fn scope(&self) -> SettingScope
pub const fn scope(&self) -> SettingScope
Required declaration scope.
Sourcepub const fn domain(&self) -> SettingDomainV2
pub const fn domain(&self) -> SettingDomainV2
Closed value domain.
Sourcepub const fn default(&self) -> &SettingDefaultV2
pub const fn default(&self) -> &SettingDefaultV2
Exact required/default policy.
Trait Implementations§
Source§impl Clone for SettingDescriptorV2
impl Clone for SettingDescriptorV2
Source§fn clone(&self) -> SettingDescriptorV2
fn clone(&self) -> SettingDescriptorV2
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 SettingDescriptorV2
impl Debug for SettingDescriptorV2
impl Eq for SettingDescriptorV2
Source§impl Ord for SettingDescriptorV2
impl Ord for SettingDescriptorV2
Source§fn cmp(&self, other: &SettingDescriptorV2) -> Ordering
fn cmp(&self, other: &SettingDescriptorV2) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SettingDescriptorV2
impl PartialEq for SettingDescriptorV2
Source§impl PartialOrd for SettingDescriptorV2
impl PartialOrd for SettingDescriptorV2
impl StructuralPartialEq for SettingDescriptorV2
Auto Trait Implementations§
impl Freeze for SettingDescriptorV2
impl RefUnwindSafe for SettingDescriptorV2
impl Send for SettingDescriptorV2
impl Sync for SettingDescriptorV2
impl Unpin for SettingDescriptorV2
impl UnsafeUnpin for SettingDescriptorV2
impl UnwindSafe for SettingDescriptorV2
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