From e04ebd2eb16f688d2ebf7830eadc1b1d5d5f9bf2 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Fri, 2 Jan 2026 20:06:00 +0900 Subject: [PATCH] property_parsers: add doccomment for `LoopProperty` --- src/property_parser.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/property_parser.rs b/src/property_parser.rs index 1b04c4c..9acd0fc 100644 --- a/src/property_parser.rs +++ b/src/property_parser.rs @@ -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, }