Struct biome_diagnostics::Category
source · pub struct Category { /* private fields */ }Expand description
Metadata for a diagnostic category
This type cannot be instantiated outside of the biome_diagnostics_categories
crate, which serves as a registry for all known diagnostic categories
(currently this registry is fully static and generated at compile time)
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for &'static Category
impl<'de> Deserialize<'de> for &'static Category
source§fn deserialize<D>(
deserializer: D
) -> Result<&'static Category, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<&'static Category, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Category
impl PartialEq for Category
source§impl Serialize for &'static Category
impl Serialize for &'static Category
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for Category
Auto Trait Implementations§
impl RefUnwindSafe for Category
impl Send for Category
impl Sync for Category
impl Unpin for Category
impl UnwindSafe for Category
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.