property_parsers: add doccomment for LoopProperty

This commit is contained in:
2026-01-02 20:06:00 +09:00
parent 4d17d2db5c
commit 2643ed547b
+4
View File
@@ -46,11 +46,15 @@ pub enum Property {
},
}
/// Loop mode used by mpv for files and playlists.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[serde(rename_all = "kebab-case")]
pub enum LoopProperty {
/// Loop N times
N(usize),
/// Loop infinitely
Inf,
/// Disable looping
No,
}