property_parsers: add doccomment for LoopProperty
All checks were successful
Build and test / check (push) Successful in 50s
Build and test / build (push) Successful in 56s
Build and test / docs (push) Successful in 1m21s
Build and test / test (push) Successful in 2m33s

This commit is contained in:
2026-01-02 20:06:00 +09:00
parent 2a599185b9
commit e04ebd2eb1

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,
}