pub enum EffectError {
Xml(OxmlError),
Color(ColorError),
UnexpectedElement(String),
MissingColor,
InvalidAttribute {
element: String,
attribute: String,
value: String,
},
}Expand description
Errors produced while parsing or writing DrawingML effects.
Variants§
Trait Implementations§
Source§impl Debug for EffectError
impl Debug for EffectError
Source§impl Display for EffectError
impl Display for EffectError
Source§impl Error for EffectError
impl Error for EffectError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ColorError> for EffectError
impl From<ColorError> for EffectError
Source§fn from(error: ColorError) -> Self
fn from(error: ColorError) -> Self
Converts to this type from the input type.
Source§impl From<EffectError> for ShapePropertiesError
impl From<EffectError> for ShapePropertiesError
Source§fn from(error: EffectError) -> Self
fn from(error: EffectError) -> Self
Converts to this type from the input type.
Source§impl From<EffectError> for ThemeError
impl From<EffectError> for ThemeError
Source§fn from(error: EffectError) -> Self
fn from(error: EffectError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for EffectError
impl !UnwindSafe for EffectError
impl Freeze for EffectError
impl Send for EffectError
impl Sync for EffectError
impl Unpin for EffectError
impl UnsafeUnpin for EffectError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more