pub fn control_ops_derive(input: TokenStream) -> TokenStream {
    match syn::parse(input) {
        Ok(ast) => impl_control_ops(&ast),
        Err(e) => e.to_compile_error().into(),
    }
}
/// Derive macro generating an impl of the trait ControlOps.
/// To use this derive macro, users should hold `Ctl` and `ElemID` as `handle`
/// and `id` in their control structure.
Derive macro generating an impl of the trait ControlOps.
Derive macro generating an impl of the trait ControlOps .
pub fn control_ops_derive(input: TokenStream) -> TokenStream {
    match syn::parse(input) {
        Ok(ast) => impl_control_ops(&ast),
        Err(e) => e.to_compile_error().into(),
    }
}
pub fn control_ops_derive ( input : TokenStream ) -> TokenStream { match syn :: parse ( input ) { Ok ( ast ) => impl_control_ops ( & ast ) , Err ( e ) => e . to_compile_error ( ) . into ( ) , } }
Derive macro generating an impl of the trait ControlOps.
Derive macro generating an impl of the trait ControlOps .
input
TokenStream
input
TokenStream