The phrase "You are my world" is a metaphor.
Why: It directly equates a person ("you") with the entire world—no "like" or "as" (which would make it a simile). It conveys that the person is the speaker's center of gravity, source of meaning, and total emotional geography.
Metaphors compress complex devotion into a single, vivid equation.