Trait xsd_types::lexical::LexicalFormOf

source ·
pub trait LexicalFormOf<V>: Lexical {
    type ValueError;

    // Required method
    fn try_as_value(&self) -> Result<V, Self::ValueError>;
}

Required Associated Types§

Required Methods§

source

fn try_as_value(&self) -> Result<V, Self::ValueError>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl LexicalFormOf<String> for str

source§

impl LexicalFormOf<UriBuf> for Uri

Implementors§

source§

impl LexicalFormOf<i8> for Integer

source§

impl LexicalFormOf<i16> for Integer

source§

impl LexicalFormOf<i32> for Integer

source§

impl LexicalFormOf<i64> for Integer

source§

impl LexicalFormOf<u8> for NonNegativeInteger

source§

impl LexicalFormOf<u16> for NonNegativeInteger

source§

impl LexicalFormOf<u32> for NonNegativeInteger

source§

impl LexicalFormOf<u64> for NonNegativeInteger

source§

impl LexicalFormOf<Base64BinaryBuf> for Base64Binary

source§

impl LexicalFormOf<DayTimeDuration> for DayTimeDuration

source§

impl LexicalFormOf<HexBinaryBuf> for HexBinary

source§

impl LexicalFormOf<Boolean> for Boolean

source§

impl LexicalFormOf<Date> for Date

source§

impl LexicalFormOf<DateTime> for DateTime

source§

impl LexicalFormOf<DateTimeStamp> for DateTimeStamp

source§

impl LexicalFormOf<Decimal> for Decimal

source§

impl LexicalFormOf<Double> for Double

source§

impl LexicalFormOf<Duration> for Duration

source§

impl LexicalFormOf<Float> for Float

source§

impl LexicalFormOf<GDay> for GDay

source§

impl LexicalFormOf<GMonth> for GMonth

source§

impl LexicalFormOf<GMonthDay> for GMonthDay

source§

impl LexicalFormOf<GYear> for GYear

source§

impl LexicalFormOf<GYearMonth> for GYearMonth

source§

impl LexicalFormOf<IdBuf> for Id

source§

impl LexicalFormOf<IdRefBuf> for IdRef

source§

impl LexicalFormOf<Integer> for Integer

source§

impl LexicalFormOf<LanguageBuf> for Language

source§

impl LexicalFormOf<NCNameBuf> for NCName

source§

impl LexicalFormOf<NMTokenBuf> for NMToken

source§

impl LexicalFormOf<NameBuf> for Name

source§

impl LexicalFormOf<NegativeInteger> for NegativeInteger

source§

impl LexicalFormOf<NonNegativeInteger> for NonNegativeInteger

source§

impl LexicalFormOf<NonPositiveInteger> for NonPositiveInteger

source§

impl LexicalFormOf<NormalizedString> for NormalizedStr

source§

impl LexicalFormOf<PositiveInteger> for PositiveInteger

source§

impl LexicalFormOf<Time> for Time

source§

impl LexicalFormOf<TokenBuf> for Token

source§

impl LexicalFormOf<YearMonthDuration> for YearMonthDuration

source§

impl LexicalFormOf<QNameBuf> for QName