Difficult as the outbreak was, we managed to finish it.
This sentence is resembling me something like
How difficult to pass the exam is, harder to get high mark will.
I don't mean the meaning, I meant structure. So what does "as" mean in the first sentence and what is the structure or grammar rule of it?