pub unsafe trait MetaTransform<'a> {
type GLibType;
// Required methods
fn quark() -> Quark;
fn to_raw<T: MetaAPI>(
&self,
meta: &MetaRef<'_, T>,
) -> Result<Self::GLibType, BoolError>;
}
Required Associated Types§
Required Methods§
fn quark() -> Quark
fn to_raw<T: MetaAPI>( &self, meta: &MetaRef<'_, T>, ) -> Result<Self::GLibType, BoolError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.