The core of the sentence is "We are". "sure as sugar" is used adverbially as an intensifier. "sugar" is an alliterative but otherwise fairly arbitrary euphemistic replacement for "****" in the expression "sure as ****".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.