Trait HlGroup
pub trait HlGroup: Sealed {
type Error;
// Required method
fn to_hl_id(&self) -> Result<i64, Self::Error>;
}Expand description
A trait implemented by types that can be converted to a highlight group ID.
Required Associated Types§
type Error
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".