pub struct CapabilityDropItem { /* private fields */ }Expand description
One exact service capability name from cap_drop.
Implementations§
Source§impl CapabilityDropItem
impl CapabilityDropItem
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the exact source span of this sequence item.
Sourcepub fn is_exact_candidate(&self) -> bool
pub fn is_exact_candidate(&self) -> bool
Reports whether this value is a conservative future cross-format exact candidate.
This classification is purely lexical: the value must be non-empty and contain no whitespace. It does not normalize case or consult a capability whitelist or target.
Trait Implementations§
Source§impl Clone for CapabilityDropItem
impl Clone for CapabilityDropItem
Source§fn clone(&self) -> CapabilityDropItem
fn clone(&self) -> CapabilityDropItem
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 CapabilityDropItem
impl Debug for CapabilityDropItem
impl Eq for CapabilityDropItem
Source§impl PartialEq for CapabilityDropItem
impl PartialEq for CapabilityDropItem
impl StructuralPartialEq for CapabilityDropItem
Auto Trait Implementations§
impl Freeze for CapabilityDropItem
impl RefUnwindSafe for CapabilityDropItem
impl Send for CapabilityDropItem
impl Sync for CapabilityDropItem
impl Unpin for CapabilityDropItem
impl UnsafeUnpin for CapabilityDropItem
impl UnwindSafe for CapabilityDropItem
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