pub struct CapabilityGrantRef(/* private fields */);Expand description
Stable least-authority grant reference.
Implementations§
Trait Implementations§
Source§impl Clone for CapabilityGrantRef
impl Clone for CapabilityGrantRef
Source§fn clone(&self) -> CapabilityGrantRef
fn clone(&self) -> CapabilityGrantRef
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 moreSource§impl Debug for CapabilityGrantRef
impl Debug for CapabilityGrantRef
impl Eq for CapabilityGrantRef
Source§impl Ord for CapabilityGrantRef
impl Ord for CapabilityGrantRef
Source§fn cmp(&self, other: &CapabilityGrantRef) -> Ordering
fn cmp(&self, other: &CapabilityGrantRef) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CapabilityGrantRef
impl PartialEq for CapabilityGrantRef
Source§impl PartialOrd for CapabilityGrantRef
impl PartialOrd for CapabilityGrantRef
impl StructuralPartialEq for CapabilityGrantRef
Auto Trait Implementations§
impl Freeze for CapabilityGrantRef
impl RefUnwindSafe for CapabilityGrantRef
impl Send for CapabilityGrantRef
impl Sync for CapabilityGrantRef
impl Unpin for CapabilityGrantRef
impl UnsafeUnpin for CapabilityGrantRef
impl UnwindSafe for CapabilityGrantRef
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