Which figure of speech is used in this text?
In the overmastering loneliness of that moment, his whole life seemed to him nothing but vanity.
—Robert Penn Warren, Night Rider
A. assonance
B. antithesis
Answer with the option's letter from the given choices directly.

A