pub struct EngineProfileV2 { /* private fields */ }Expand description
One immutable revision-2 engine-profile registry record.
Implementations§
Source§impl EngineProfileV2
impl EngineProfileV2
Sourcepub const fn selection(&self) -> &ProfileSelection
pub const fn selection(&self) -> &ProfileSelection
Full exact selection tuple retained by this record.
Sourcepub const fn profile_urn(&self) -> &'static str
pub const fn profile_urn(&self) -> &'static str
Stable revisioned profile-record URN.
Sourcepub fn accepted_inputs(&self) -> &[SourceFormatV1]
pub fn accepted_inputs(&self) -> &[SourceFormatV1]
Exact accepted input containers.
Sourcepub fn facts(&self) -> &[EngineProfileFactV2]
pub fn facts(&self) -> &[EngineProfileFactV2]
Complete profile-facts V2 inventory in stable-id order.
Sourcepub fn setting_descriptors(&self) -> &[SettingDescriptorV2]
pub fn setting_descriptors(&self) -> &[SettingDescriptorV2]
Complete descriptor inventory in stable-id order.
Sourcepub fn sources(&self) -> &[PrimarySourceV2]
pub fn sources(&self) -> &[PrimarySourceV2]
Version-pinned primary sources in stable-id order.
Sourcepub fn setting_descriptor(
&self,
id: SettingIdV2,
) -> Option<&SettingDescriptorV2>
pub fn setting_descriptor( &self, id: SettingIdV2, ) -> Option<&SettingDescriptorV2>
Look up one setting descriptor.
Trait Implementations§
Source§impl Clone for EngineProfileV2
impl Clone for EngineProfileV2
Source§fn clone(&self) -> EngineProfileV2
fn clone(&self) -> EngineProfileV2
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 EngineProfileV2
impl Debug for EngineProfileV2
impl Eq for EngineProfileV2
Source§impl PartialEq for EngineProfileV2
impl PartialEq for EngineProfileV2
impl StructuralPartialEq for EngineProfileV2
Auto Trait Implementations§
impl Freeze for EngineProfileV2
impl RefUnwindSafe for EngineProfileV2
impl Send for EngineProfileV2
impl Sync for EngineProfileV2
impl Unpin for EngineProfileV2
impl UnsafeUnpin for EngineProfileV2
impl UnwindSafe for EngineProfileV2
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