pub struct RuleTargetKey {
pub kind: RuleTargetKind,
pub name: &'static str,
}Fields§
§kind: RuleTargetKind§name: &'static strImplementations§
Source§impl RuleTargetKey
impl RuleTargetKey
pub const fn kind_label(self) -> &'static str
Trait Implementations§
Source§impl Clone for RuleTargetKey
impl Clone for RuleTargetKey
Source§fn clone(&self) -> RuleTargetKey
fn clone(&self) -> RuleTargetKey
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 moreimpl Copy for RuleTargetKey
Source§impl Debug for RuleTargetKey
impl Debug for RuleTargetKey
impl Eq for RuleTargetKey
Source§impl From<RuleTarget> for RuleTargetKey
impl From<RuleTarget> for RuleTargetKey
Source§fn from(value: RuleTarget) -> Self
fn from(value: RuleTarget) -> Self
Converts to this type from the input type.
Source§impl Hash for RuleTargetKey
impl Hash for RuleTargetKey
Source§impl PartialEq for RuleTargetKey
impl PartialEq for RuleTargetKey
Source§fn eq(&self, other: &RuleTargetKey) -> bool
fn eq(&self, other: &RuleTargetKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuleTargetKey
Auto Trait Implementations§
impl Freeze for RuleTargetKey
impl RefUnwindSafe for RuleTargetKey
impl Send for RuleTargetKey
impl Sync for RuleTargetKey
impl Unpin for RuleTargetKey
impl UnsafeUnpin for RuleTargetKey
impl UnwindSafe for RuleTargetKey
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.