pub struct EngineProfileFactV1 { /* private fields */ }Expand description
One stable fact and its explicit evidence state.
Implementations§
Source§impl EngineProfileFactV1
impl EngineProfileFactV1
Sourcepub const fn new(id: EngineFactIdV1, state: EngineFactStateV1) -> Self
pub const fn new(id: EngineFactIdV1, state: EngineFactStateV1) -> Self
Construct one profile fact.
Sourcepub const fn id(&self) -> EngineFactIdV1
pub const fn id(&self) -> EngineFactIdV1
Stable fact id.
Sourcepub const fn state(&self) -> &EngineFactStateV1
pub const fn state(&self) -> &EngineFactStateV1
Explicit evidence state.
Trait Implementations§
Source§impl Clone for EngineProfileFactV1
impl Clone for EngineProfileFactV1
Source§fn clone(&self) -> EngineProfileFactV1
fn clone(&self) -> EngineProfileFactV1
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 EngineProfileFactV1
impl Debug for EngineProfileFactV1
Source§impl<'de> Deserialize<'de> for EngineProfileFactV1
impl<'de> Deserialize<'de> for EngineProfileFactV1
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 EngineProfileFactV1
Source§impl Ord for EngineProfileFactV1
impl Ord for EngineProfileFactV1
Source§fn cmp(&self, other: &EngineProfileFactV1) -> Ordering
fn cmp(&self, other: &EngineProfileFactV1) -> 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 PartialEq for EngineProfileFactV1
impl PartialEq for EngineProfileFactV1
Source§impl PartialOrd for EngineProfileFactV1
impl PartialOrd for EngineProfileFactV1
Source§impl Serialize for EngineProfileFactV1
impl Serialize for EngineProfileFactV1
impl StructuralPartialEq for EngineProfileFactV1
Auto Trait Implementations§
impl Freeze for EngineProfileFactV1
impl RefUnwindSafe for EngineProfileFactV1
impl Send for EngineProfileFactV1
impl Sync for EngineProfileFactV1
impl Unpin for EngineProfileFactV1
impl UnsafeUnpin for EngineProfileFactV1
impl UnwindSafe for EngineProfileFactV1
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