pub struct ConfigurationCapability { /* private fields */ }
Expand description
A configuration capability, which may be routed between components. Created by
Capability::configuration
.
Implementations§
source§impl ConfigurationCapability
impl ConfigurationCapability
sourcepub fn optional(self) -> Self
pub fn optional(self) -> Self
Marks the availability of this configuration as “optional”, which allows either this or a
parent offer to have a source of void
.
sourcepub fn availability_same_as_target(self) -> Self
pub fn availability_same_as_target(self) -> Self
Marks the availability of this configuration to be the same as the availability expectations set in the target.
Trait Implementations§
source§impl Clone for ConfigurationCapability
impl Clone for ConfigurationCapability
source§fn clone(&self) -> ConfigurationCapability
fn clone(&self) -> ConfigurationCapability
Returns a copy of the value. Read more
1.0.0 · 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 ConfigurationCapability
impl Debug for ConfigurationCapability
source§impl Into<Capability> for ConfigurationCapability
impl Into<Capability> for ConfigurationCapability
source§fn into(self) -> Capability
fn into(self) -> Capability
Converts this type into the (usually inferred) input type.
source§impl PartialEq for ConfigurationCapability
impl PartialEq for ConfigurationCapability
source§fn eq(&self, other: &ConfigurationCapability) -> bool
fn eq(&self, other: &ConfigurationCapability) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConfigurationCapability
Auto Trait Implementations§
impl Freeze for ConfigurationCapability
impl RefUnwindSafe for ConfigurationCapability
impl Send for ConfigurationCapability
impl Sync for ConfigurationCapability
impl Unpin for ConfigurationCapability
impl UnwindSafe for ConfigurationCapability
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)