pub struct DavResourceStateSet(/* private fields */);Expand description
Resource states to which a package or method contribution can apply.
Implementations§
Source§impl DavResourceStateSet
impl DavResourceStateSet
pub const fn from_states(states: &[DavResourceState]) -> Self
pub const fn contains(self, state: DavResourceState) -> bool
pub const fn union(self, other: Self) -> Self
Trait Implementations§
Source§impl Clone for DavResourceStateSet
impl Clone for DavResourceStateSet
Source§fn clone(&self) -> DavResourceStateSet
fn clone(&self) -> DavResourceStateSet
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 Debug for DavResourceStateSet
impl Debug for DavResourceStateSet
Source§impl PartialEq for DavResourceStateSet
impl PartialEq for DavResourceStateSet
impl Copy for DavResourceStateSet
impl Eq for DavResourceStateSet
impl StructuralPartialEq for DavResourceStateSet
Auto Trait Implementations§
impl Freeze for DavResourceStateSet
impl RefUnwindSafe for DavResourceStateSet
impl Send for DavResourceStateSet
impl Sync for DavResourceStateSet
impl Unpin for DavResourceStateSet
impl UnwindSafe for DavResourceStateSet
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.