The technique being used in the passage is indirect characterization.
In this excerpt, the character reveals their traits and personality through their dialogue and the way they describe their habits and interests. The focus on training their mind and remembering details about people suggests a keen observation skill and a certain level of intensity or obsession with details, which provides insight into their character without explicitly stating their traits.