pub enum ShapePropertiesError {
Xml(OxmlError),
Transform(TransformError),
Geometry(GeometryError),
Fill(FillError),
Line(LineError),
Effect(EffectError),
UnexpectedElement(String),
}Expand description
Errors produced while parsing or writing DrawingML shape properties.
Variants§
Xml(OxmlError)
Transform(TransformError)
Geometry(GeometryError)
Fill(FillError)
Line(LineError)
Effect(EffectError)
UnexpectedElement(String)
Trait Implementations§
Source§impl Debug for ShapePropertiesError
impl Debug for ShapePropertiesError
Source§impl Display for ShapePropertiesError
impl Display for ShapePropertiesError
Source§impl Error for ShapePropertiesError
impl Error for ShapePropertiesError
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<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<FillError> for ShapePropertiesError
impl From<FillError> for ShapePropertiesError
Source§impl From<GeometryError> for ShapePropertiesError
impl From<GeometryError> for ShapePropertiesError
Source§fn from(error: GeometryError) -> Self
fn from(error: GeometryError) -> Self
Converts to this type from the input type.
Source§impl From<LineError> for ShapePropertiesError
impl From<LineError> for ShapePropertiesError
Source§impl From<OxmlError> for ShapePropertiesError
impl From<OxmlError> for ShapePropertiesError
Source§impl From<TransformError> for ShapePropertiesError
impl From<TransformError> for ShapePropertiesError
Source§fn from(error: TransformError) -> Self
fn from(error: TransformError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ShapePropertiesError
impl !UnwindSafe for ShapePropertiesError
impl Freeze for ShapePropertiesError
impl Send for ShapePropertiesError
impl Sync for ShapePropertiesError
impl Unpin for ShapePropertiesError
impl UnsafeUnpin for ShapePropertiesError
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