pub trait HlGroup: Sealed {
type Error;
// Required method
fn to_hl_id(&self) -> Result<HlGroupId, Self::Error>;
}Expand description
A trait implemented by types that can be converted to a highlight group ID.
pub trait HlGroup: Sealed {
type Error;
// Required method
fn to_hl_id(&self) -> Result<HlGroupId, Self::Error>;
}A trait implemented by types that can be converted to a highlight group ID.