What rhetorical devices are used when the desert sand is like snow and the Yanshan moon is like a hook?

The poem "The desert sand is like snow, and the moon in Yanshan Mountain is like a hook" uses the rhetorical device of metaphor, comparing thousands of gravel in the vast desert to frost and snow, and comparing the moon in Yanshan Mountain to a hook, which shows a lonely and desolate frontier scenery and creates a sad atmosphere.

Desert sand as the origin of snow

"The desert sand is like snow" comes from the poem "Twenty-three Horses" written by Li He, a poet in Tang Dynasty. The whole poem is as follows:

The desert sand is like snow, and the Yanshan moon is like a hook.

Don't be a golden brain, go and step on the clear autumn.

Translation:

Wan Li in Pingsha looks like a layer of white frost and snow in the moonlight. On the continuous Yanshan Mountains, a bright moon is in the sky, like a hook.

When can I put on the golden thread, gallop on the crisp autumn battlefield, and build meritorious deeds?

Appreciate:

This poem is a frontier poem. The poet writes clearly about horses, in fact, he expresses his feelings through horses, expressing the sadness that the author is eager to make contributions but not appreciated, and at the same time he is eager to display his ambitions.