caniuse_serde/SupportMaturity.rs
1// This file is part of caniuse-serde. It is subject to the license terms in the COPYRIGHT file found in the top-level directory of this distribution and at https://raw.githubusercontent.com/lemonrock/caniuse-serde/master/COPYRIGHT. No part of predicator, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the COPYRIGHT file.
2// Copyright © 2017 The developers of caniuse-serde. See the COPYRIGHT file in the top-level directory of this distribution and at https://raw.githubusercontent.com/lemonrock/caniuse-serde/master/COPYRIGHT.
3
4
5/// Represents the maturity of support in an agent
6#[allow(missing_docs)]
7#[derive(Debug, Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash)]
8pub enum SupportMaturity
9{
10 SupportedByDefault,
11 AlmostSupported,
12 NotSupportedOrDisabledByDefault,
13 SupportedUsingAPolyfill,
14 SupportUnknown,
15}
16
17impl Default for SupportMaturity
18{
19 /// Defaults to SupportMaturity::SupportUnknown
20 #[inline(always)]
21 fn default() -> Self
22 {
23 SupportMaturity::SupportUnknown
24 }
25}