Struct caniuse_serde::Feature
[−]
[src]
pub struct Feature<'a> { /* fields omitted */ }
A feature is a HTML, CSS or like feature that agents may not have support for.
Methods
impl<'a> Feature<'a>
[src]
fn feature_name(&self) -> &'a FeatureName
[src]
The name of this feature.
fn title(&self) -> &'a str
[src]
The title of this feature.
fn description(&self) -> &'a str
[src]
The description of this feature.
fn specification_url(&self) -> &'a Url
[src]
The URL at which the specification of this feature can be found.
fn status(&self) -> &'a Status
[src]
The status of this feature.
fn links(&self) -> &'a [Link]
[src]
Links to additional documents detailing this feature or aspects of it.
fn bugs(&self) -> &'a [Bug]
[src]
Any bugs with this feature. Rarely used in the caniuse.com database.
fn categories(&self) -> &'a [Category]
[src]
The caniuse.com database's categorisations of this feature.
fn general_notes(&self) -> &'a str
[src]
The caniuse.com database's notes on this feature.
fn implementations_by_agents(
&'a self,
agent_name: &AgentName,
lower_bound: Bound<&Version>,
upper_bound: Bound<&Version>
) -> Option<SupportRangeIterator<'a>>
[src]
&'a self,
agent_name: &AgentName,
lower_bound: Bound<&Version>,
upper_bound: Bound<&Version>
) -> Option<SupportRangeIterator<'a>>
implementations; returns None if agent_name has no known usages.
fn implementation(
&'a self,
agent_name: &AgentName,
version: &Version
) -> Option<Option<Support<'a>>>
[src]
&'a self,
agent_name: &AgentName,
version: &Version
) -> Option<Option<Support<'a>>>
implementation; returns None if agent_name has no known usages. returns Some(None) if agent_name exists but not for the version. returns Some(Some(support) if agent_name exists and the version has known support
fn supported_by_default_usage(&self) -> UsagePercentage
[src]
The supported usage of this feature; those agents where the feature is SupportMaturity::SupportedByDefault.
fn almost_supported_usage(&self) -> UsagePercentage
[src]
The supported usage of this feature; those agents where the feature is SupportMaturity::AlmostSupported.
fn parent_feature_if_any(&self) -> Option<&'a FeatureName>
[src]
The parent feature this one belongs to use; not widely used by the caniuse.com's database.
fn keywords(&self) -> &'a [String]
[src]
A list of keywords to make it easier to search for this feature.
fn feature_identifiers(&self, agentName: &AgentName) -> &'a [String]
[src]
For Opera & Opera Mobile, assumes blink (but not for Opera Mini) For Opera Mini and Unknown browsers, returns an empty slice
fn internet_explorer_feature_identifiers(&self) -> &'a [String]
[src]
Identifiers to related MSDN sections.
fn blink_feature_identifiers(&self) -> &'a [String]
[src]
Identifiers to related blink (Google Chrome) bugs
fn firefox_feature_identifiers(&self) -> &'a [String]
[src]
Identifiers to related Mozilla Firefox bugs
fn webkit_feature_identifiers(&self) -> &'a [String]
[src]
Identifiers to related WebKit bugs
fn upper_case_prefix(&self) -> bool
[src]
Should any prefix be in uppercase? Extremely rarely used by the caniuse.com database.
fn this_feature_is_not_yet_complete_or_accurate(&self) -> bool
[src]
Effectively, is this feature in 'draft' form? Extremely rarely used, if at all, by the caniuse.com database, and only for extremely recent features.