pub struct EngineRegistration { /* private fields */ }Expand description
Immutable direct engine registration candidate.
Implementations§
Source§impl EngineRegistration
impl EngineRegistration
Sourcepub fn provider_device_identity(&self) -> &ProviderDeviceIdentity
pub fn provider_device_identity(&self) -> &ProviderDeviceIdentity
Return the immutable provider/device binding for this engine.
Sourcepub fn context_identity(&self) -> ExecutionContextIdentity
pub fn context_identity(&self) -> ExecutionContextIdentity
Return the execution-context type identity accepted by the engine.
Sourcepub fn hardware_class(&self) -> &HardwareClassId
pub fn hardware_class(&self) -> &HardwareClassId
Return the hardware class exposed by this engine.
Sourcepub fn storage_classes(&self) -> &[StorageClass]
pub fn storage_classes(&self) -> &[StorageClass]
Return the supported storage classes in registration order.
Sourcepub fn default_storage_class(&self) -> &StorageClass
pub fn default_storage_class(&self) -> &StorageClass
Return the default storage class.
Sourcepub fn capabilities(&self) -> &CoreCapabilityBundle
pub fn capabilities(&self) -> &CoreCapabilityBundle
Return direct core capability slots.
Trait Implementations§
Source§impl Clone for EngineRegistration
impl Clone for EngineRegistration
Source§fn clone(&self) -> EngineRegistration
fn clone(&self) -> EngineRegistration
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 moreAuto Trait Implementations§
impl Freeze for EngineRegistration
impl !RefUnwindSafe for EngineRegistration
impl Send for EngineRegistration
impl Sync for EngineRegistration
impl Unpin for EngineRegistration
impl UnsafeUnpin for EngineRegistration
impl !UnwindSafe for EngineRegistration
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