pub struct SettingDescriptor { /* private fields */ }Expand description
Immutable descriptor for one stable setting id.
Implementations§
Source§impl SettingDescriptor
impl SettingDescriptor
Sourcepub const fn scope(&self) -> SettingScope
pub const fn scope(&self) -> SettingScope
Required declaration scope.
Sourcepub const fn domain(&self) -> SettingDomain
pub const fn domain(&self) -> SettingDomain
Closed value domain.
Sourcepub const fn applicability(&self) -> SettingApplicability
pub const fn applicability(&self) -> SettingApplicability
Applicability to this exact profile revision.
Sourcepub const fn default_status(&self) -> DefaultStatus
pub const fn default_status(&self) -> DefaultStatus
Verified default status.
Trait Implementations§
Source§impl Clone for SettingDescriptor
impl Clone for SettingDescriptor
Source§fn clone(&self) -> SettingDescriptor
fn clone(&self) -> SettingDescriptor
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 SettingDescriptor
impl Debug for SettingDescriptor
impl Eq for SettingDescriptor
Source§impl Ord for SettingDescriptor
impl Ord for SettingDescriptor
Source§fn cmp(&self, other: &SettingDescriptor) -> Ordering
fn cmp(&self, other: &SettingDescriptor) -> 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 SettingDescriptor
impl PartialEq for SettingDescriptor
Source§impl PartialOrd for SettingDescriptor
impl PartialOrd for SettingDescriptor
impl StructuralPartialEq for SettingDescriptor
Auto Trait Implementations§
impl Freeze for SettingDescriptor
impl RefUnwindSafe for SettingDescriptor
impl Send for SettingDescriptor
impl Sync for SettingDescriptor
impl Unpin for SettingDescriptor
impl UnsafeUnpin for SettingDescriptor
impl UnwindSafe for SettingDescriptor
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