pub struct EngineSnapshotView<'a> { /* private fields */ }Expand description
Borrowed immutable view of one engine slot in a runtime snapshot.
§Examples
use std::fmt::Debug;
use tenferro_runtime::EngineSnapshotView;
fn requires_debug<T: Debug>() {}
requires_debug::<EngineSnapshotView<'_>>();Implementations§
Source§impl<'a> EngineSnapshotView<'a>
impl<'a> EngineSnapshotView<'a>
Sourcepub fn provider_device_identity(&self) -> &'a ProviderDeviceIdentity
pub fn provider_device_identity(&self) -> &'a ProviderDeviceIdentity
Return the immutable provider/device binding for this engine slot.
§Examples
let _ = view.provider_device_identity();Sourcepub fn registration_identity(&self) -> RegistrationIdentity
pub fn registration_identity(&self) -> RegistrationIdentity
Return the runtime-local registration identity for this slot.
Sourcepub fn context_identity(&self) -> ExecutionContextIdentity
pub fn context_identity(&self) -> ExecutionContextIdentity
Return the execution-context identity required by this slot.
Sourcepub fn event_domain_id(&self) -> EventDomainId
pub fn event_domain_id(&self) -> EventDomainId
Return this engine’s runtime event domain.
Sourcepub fn hardware_class(&self) -> &'a HardwareClassId
pub fn hardware_class(&self) -> &'a HardwareClassId
Return the hardware class for this slot.
Sourcepub fn capabilities(&self) -> &'a CoreCapabilityBundle
pub fn capabilities(&self) -> &'a CoreCapabilityBundle
Return direct core capability slots for this engine.
Trait Implementations§
Source§impl<'a> Clone for EngineSnapshotView<'a>
impl<'a> Clone for EngineSnapshotView<'a>
Source§fn clone(&self) -> EngineSnapshotView<'a>
fn clone(&self) -> EngineSnapshotView<'a>
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 EngineSnapshotView<'_>
impl Debug for EngineSnapshotView<'_>
impl<'a> Copy for EngineSnapshotView<'a>
Auto Trait Implementations§
impl<'a> Freeze for EngineSnapshotView<'a>
impl<'a> !RefUnwindSafe for EngineSnapshotView<'a>
impl<'a> Send for EngineSnapshotView<'a>
impl<'a> Sync for EngineSnapshotView<'a>
impl<'a> Unpin for EngineSnapshotView<'a>
impl<'a> UnsafeUnpin for EngineSnapshotView<'a>
impl<'a> !UnwindSafe for EngineSnapshotView<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more