pub struct CapabilityOther<'a>(/* private fields */);
Expand description
An (unknown) capability.
It’s guaranteed that this type can’t represent any capability from Capability
.
Trait Implementations§
Source§impl<'a> Clone for CapabilityOther<'a>
impl<'a> Clone for CapabilityOther<'a>
Source§fn clone(&self) -> CapabilityOther<'a>
fn clone(&self) -> CapabilityOther<'a>
Returns a duplicate 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<'a> Debug for CapabilityOther<'a>
impl<'a> Debug for CapabilityOther<'a>
Source§impl<'de, 'a> Deserialize<'de> for CapabilityOther<'a>
impl<'de, 'a> Deserialize<'de> for CapabilityOther<'a>
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
Source§impl<'a> Hash for CapabilityOther<'a>
impl<'a> Hash for CapabilityOther<'a>
Source§impl<'a> IntoBoundedStatic for CapabilityOther<'a>
impl<'a> IntoBoundedStatic for CapabilityOther<'a>
Source§type Static = CapabilityOther<'static>
type Static = CapabilityOther<'static>
The target type is bounded by the
'static
lifetime.Source§fn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
Convert an owned
T
into an owned T
such that T: 'static
.Source§impl<'a> PartialEq for CapabilityOther<'a>
impl<'a> PartialEq for CapabilityOther<'a>
Source§impl<'a> Serialize for CapabilityOther<'a>
impl<'a> Serialize for CapabilityOther<'a>
Source§impl<'a> ToBoundedStatic for CapabilityOther<'a>
impl<'a> ToBoundedStatic for CapabilityOther<'a>
impl<'a> Eq for CapabilityOther<'a>
impl<'a> StructuralPartialEq for CapabilityOther<'a>
Auto Trait Implementations§
impl<'a> Freeze for CapabilityOther<'a>
impl<'a> RefUnwindSafe for CapabilityOther<'a>
impl<'a> Send for CapabilityOther<'a>
impl<'a> Sync for CapabilityOther<'a>
impl<'a> Unpin for CapabilityOther<'a>
impl<'a> UnwindSafe for CapabilityOther<'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