pub struct KeyAccessState<K> {
pub kind: KeyAccessKind,
pub access: KeyAccess<K>,
}Expand description
KeyAccessState Tracks key-only access plus its origin for intent validation.
Fields§
§kind: KeyAccessKind§access: KeyAccess<K>Trait Implementations§
Source§impl<K: Clone> Clone for KeyAccessState<K>
impl<K: Clone> Clone for KeyAccessState<K>
Source§fn clone(&self) -> KeyAccessState<K>
fn clone(&self) -> KeyAccessState<K>
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<K: Debug> Debug for KeyAccessState<K>
impl<K: Debug> Debug for KeyAccessState<K>
Source§impl<K: PartialEq> PartialEq for KeyAccessState<K>
impl<K: PartialEq> PartialEq for KeyAccessState<K>
impl<K: Eq> Eq for KeyAccessState<K>
impl<K> StructuralPartialEq for KeyAccessState<K>
Auto Trait Implementations§
impl<K> Freeze for KeyAccessState<K>where
K: Freeze,
impl<K> RefUnwindSafe for KeyAccessState<K>where
K: RefUnwindSafe,
impl<K> Send for KeyAccessState<K>where
K: Send,
impl<K> Sync for KeyAccessState<K>where
K: Sync,
impl<K> Unpin for KeyAccessState<K>where
K: Unpin,
impl<K> UnsafeUnpin for KeyAccessState<K>where
K: UnsafeUnpin,
impl<K> UnwindSafe for KeyAccessState<K>where
K: UnwindSafe,
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