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
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)