pub struct EngineSettingDescriptorV1 { /* private fields */ }Expand description
Immutable descriptor for one stable setting id.
Implementations§
Source§impl EngineSettingDescriptorV1
impl EngineSettingDescriptorV1
Sourcepub const fn new(
id: EngineSettingIdV1,
scope: EngineSettingScopeV1,
domain: EngineSettingDomainV1,
applicability: EngineSettingApplicabilityV1,
default_status: EngineDefaultStatusV1,
) -> Self
pub const fn new( id: EngineSettingIdV1, scope: EngineSettingScopeV1, domain: EngineSettingDomainV1, applicability: EngineSettingApplicabilityV1, default_status: EngineDefaultStatusV1, ) -> Self
Construct one immutable setting descriptor.
Sourcepub const fn id(&self) -> EngineSettingIdV1
pub const fn id(&self) -> EngineSettingIdV1
Stable setting id.
Sourcepub const fn scope(&self) -> EngineSettingScopeV1
pub const fn scope(&self) -> EngineSettingScopeV1
Required setting scope.
Sourcepub const fn domain(&self) -> EngineSettingDomainV1
pub const fn domain(&self) -> EngineSettingDomainV1
Closed value domain.
Sourcepub const fn applicability(&self) -> EngineSettingApplicabilityV1
pub const fn applicability(&self) -> EngineSettingApplicabilityV1
Applicability to this exact profile revision.
Sourcepub const fn default_status(&self) -> EngineDefaultStatusV1
pub const fn default_status(&self) -> EngineDefaultStatusV1
Verified default status.
Trait Implementations§
Source§impl Clone for EngineSettingDescriptorV1
impl Clone for EngineSettingDescriptorV1
Source§fn clone(&self) -> EngineSettingDescriptorV1
fn clone(&self) -> EngineSettingDescriptorV1
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 EngineSettingDescriptorV1
impl Debug for EngineSettingDescriptorV1
Source§impl<'de> Deserialize<'de> for EngineSettingDescriptorV1
impl<'de> Deserialize<'de> for EngineSettingDescriptorV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EngineSettingDescriptorV1
Source§impl Ord for EngineSettingDescriptorV1
impl Ord for EngineSettingDescriptorV1
Source§fn cmp(&self, other: &EngineSettingDescriptorV1) -> Ordering
fn cmp(&self, other: &EngineSettingDescriptorV1) -> 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
Source§impl PartialOrd for EngineSettingDescriptorV1
impl PartialOrd for EngineSettingDescriptorV1
impl StructuralPartialEq for EngineSettingDescriptorV1
Auto Trait Implementations§
impl Freeze for EngineSettingDescriptorV1
impl RefUnwindSafe for EngineSettingDescriptorV1
impl Send for EngineSettingDescriptorV1
impl Sync for EngineSettingDescriptorV1
impl Unpin for EngineSettingDescriptorV1
impl UnsafeUnpin for EngineSettingDescriptorV1
impl UnwindSafe for EngineSettingDescriptorV1
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