pub struct EngineProfile { /* private fields */ }Expand description
One immutable, revisioned registry profile.
Implementations§
Source§impl EngineProfile
impl EngineProfile
Sourcepub const fn selection(&self) -> &ProfileSelection
pub const fn selection(&self) -> &ProfileSelection
Full exact selection tuple retained by this profile.
Sourcepub const fn fact_bundle_urn(&self) -> &'static str
pub const fn fact_bundle_urn(&self) -> &'static str
Revisioned fact-bundle URN.
Sourcepub fn accepted_inputs(&self) -> &[SourceFormatV1]
pub fn accepted_inputs(&self) -> &[SourceFormatV1]
Bounded AnimSmith V1 input formats accepted by the profile.
Sourcepub fn facts(&self) -> &[ProfileFact]
pub fn facts(&self) -> &[ProfileFact]
Complete typed fact inventory in stable-id order.
Sourcepub fn setting_descriptors(&self) -> &[SettingDescriptor]
pub fn setting_descriptors(&self) -> &[SettingDescriptor]
Complete descriptor inventory in stable-id order.
Sourcepub fn sources(&self) -> &[PrimarySource]
pub fn sources(&self) -> &[PrimarySource]
Primary sources in stable-id order.
Sourcepub const fn facts_identity(&self) -> &InputIdentity
pub const fn facts_identity(&self) -> &InputIdentity
SHA-256 plus byte count of the canonical immutable record encoding.
Sourcepub fn fact(&self, id: FactId) -> Option<&ProfileFact>
pub fn fact(&self, id: FactId) -> Option<&ProfileFact>
Look up one fact by stable id.
Sourcepub fn setting_descriptor(&self, id: SettingId) -> Option<&SettingDescriptor>
pub fn setting_descriptor(&self, id: SettingId) -> Option<&SettingDescriptor>
Look up one setting descriptor, including not-applicable descriptors.
Trait Implementations§
Source§impl Clone for EngineProfile
impl Clone for EngineProfile
Source§fn clone(&self) -> EngineProfile
fn clone(&self) -> EngineProfile
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 EngineProfile
impl Debug for EngineProfile
impl Eq for EngineProfile
Source§impl PartialEq for EngineProfile
impl PartialEq for EngineProfile
impl StructuralPartialEq for EngineProfile
Auto Trait Implementations§
impl Freeze for EngineProfile
impl RefUnwindSafe for EngineProfile
impl Send for EngineProfile
impl Sync for EngineProfile
impl Unpin for EngineProfile
impl UnsafeUnpin for EngineProfile
impl UnwindSafe for EngineProfile
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