Home
last modified time | relevance | path

Searched defs:ValueErrorKind (Results 1 – 5 of 5) sorted by relevance

/dports/graphics/librsvg2-rust/librsvg-2.52.8/src/
H A Derror.rs27 pub enum ValueErrorKind { enum
38 impl ValueErrorKind { impl
39 pub fn parse_error(s: &str) -> ValueErrorKind { in parse_error()
43 pub fn value_error(s: &str) -> ValueErrorKind { in value_error()
48 impl fmt::Display for ValueErrorKind { implementation
60 impl<'a> From<BasicParseError<'a>> for ValueErrorKind { implementation
61 fn from(e: BasicParseError<'_>) -> ValueErrorKind { in from()
329 impl From<NodeIdError> for ValueErrorKind { implementation
330 fn from(e: NodeIdError) -> ValueErrorKind { in from()
H A Dcond.rs23 pub fn from_attribute(s: &str) -> Result<RequiredExtensions, ValueErrorKind> { in from_attribute() argument
67 pub fn from_attribute(s: &str) -> Result<RequiredFeatures, ValueErrorKind> { in from_attribute() argument
99 pub fn from_attribute(s: &str) -> Result<SystemLanguage, ValueErrorKind> { in from_attribute() argument
H A Dstyle.rs23 fn parse(value: &str) -> Result<StyleType, ValueErrorKind> { in parse() argument
H A Dlength.rs169 fn validate(v: f64) -> Result<f64, ValueErrorKind> { in validate() argument
183 fn validate(v: f64) -> Result<f64, ValueErrorKind> { in validate() argument
H A Dparsers.rs37 pub fn finite_f32(n: f32) -> Result<f32, ValueErrorKind> { in finite_f32() argument