Trait WithNamespace

Source
pub trait WithNamespace {
    // Required methods
    fn prefix() -> Option<&'static str>;
    fn namespace() -> Option<&'static str>;
}
Expand description

Trait that adds namespace information to a type.

Required Methods§

Source

fn prefix() -> Option<&'static str>

The default namespace prefix for this type.

Source

fn namespace() -> Option<&'static str>

The namespace for this type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl WithNamespace for AttributeUseType

Source§

impl WithNamespace for BasicNamespaceListItemType

Source§

impl WithNamespace for BlockSetType

Source§

impl WithNamespace for DefaultOpenContentModeType

Source§

impl WithNamespace for DerivationControlType

Source§

impl WithNamespace for DerivationSetType

Source§

impl WithNamespace for Facet

Source§

impl WithNamespace for FormChoiceType

Source§

impl WithNamespace for FullDerivationSetType

Source§

impl WithNamespace for NamespaceListType

Source§

impl WithNamespace for OpenContentModeType

Source§

impl WithNamespace for ProcessContentsType

Source§

impl WithNamespace for QnameListAItemType

Source§

impl WithNamespace for QnameListItemType

Source§

impl WithNamespace for SimpleDerivationSetType

Source§

impl WithNamespace for XpathDefaultNamespaceType

Source§

impl WithNamespace for AltType

Source§

impl WithNamespace for Annotation

Source§

impl WithNamespace for Any

Source§

impl WithNamespace for AnyAttribute

Source§

impl WithNamespace for Appinfo

Source§

impl WithNamespace for AssertionType

Source§

impl WithNamespace for AttributeGroupType

Source§

impl WithNamespace for AttributeType

Source§

impl WithNamespace for BasicNamespaceListType

Source§

impl WithNamespace for BlockSetItemList

Source§

impl WithNamespace for ComplexBaseType

Source§

impl WithNamespace for ComplexContent

Source§

impl WithNamespace for DefaultOpenContent

Source§

impl WithNamespace for Documentation

Source§

impl WithNamespace for ElementSubstitutionGroupType

Source§

impl WithNamespace for ElementType

Source§

impl WithNamespace for ExtensionType

Source§

impl WithNamespace for FacetType

Source§

impl WithNamespace for Field

Source§

impl WithNamespace for GroupType

Source§

impl WithNamespace for Import

Source§

impl WithNamespace for Include

Source§

impl WithNamespace for KeybaseType

Source§

impl WithNamespace for Keyref

Source§

impl WithNamespace for List

Source§

impl WithNamespace for NotNamespaceType

Source§

impl WithNamespace for Notation

Source§

impl WithNamespace for OpenContent

Source§

impl WithNamespace for Override

Source§

impl WithNamespace for QnameListAType

Source§

impl WithNamespace for QnameListType

Source§

impl WithNamespace for Redefine

Source§

impl WithNamespace for ReducedDerivationControlList

Source§

impl WithNamespace for Restriction

Source§

impl WithNamespace for RestrictionType

Source§

impl WithNamespace for Schema

Source§

impl WithNamespace for SimpleBaseType

Source§

impl WithNamespace for SimpleContent

Source§

impl WithNamespace for SimpleDerivationSetItemList

Source§

impl WithNamespace for TypeDerivationControlList

Source§

impl WithNamespace for Union

Source§

impl WithNamespace for UnionMemberTypesType

Source§

impl WithNamespace for WildcardType