Struct ruma_client_api::discovery::get_capabilities::iter::CapabilityRef
source · pub struct CapabilityRef<'a> { /* private fields */ }
Available on crate features
client
or server
only.Expand description
Reference to a capability.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for CapabilityRef<'a>
impl<'a> RefUnwindSafe for CapabilityRef<'a>
impl<'a> Send for CapabilityRef<'a>
impl<'a> Sync for CapabilityRef<'a>
impl<'a> Unpin for CapabilityRef<'a>
impl<'a> UnwindSafe for CapabilityRef<'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