Enum rdftk_core::model::literal::LanguageTag [−][src]
Expand description
A type that represents a language tag from RFC-5646. A tag is either a normal language tag, a private use tag, or a pre-existing tag grandfathered into the registration.
Variants
Tag(Tag)
Grandfathered(String)
Implementations
Returns true
if this instance is a normal language tag, else false
.
Returns true
if this instance is a grandfathered registration, else false
.
Returns true
if this instance is a private use tag, else false
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LanguageTag
impl Send for LanguageTag
impl Sync for LanguageTag
impl Unpin for LanguageTag
impl UnwindSafe for LanguageTag
Blanket Implementations
Mutably borrows from an owned value. Read more