pub enum LineError {
Xml(OxmlError),
Fill(FillError),
UnexpectedElement(String),
MissingAttribute {
element: String,
attribute: String,
},
InvalidAttribute {
element: String,
attribute: String,
value: String,
},
LineWidthOutOfRange(u32),
}Expand description
Errors produced while parsing or writing DrawingML line properties.
Variants§
Xml(OxmlError)
Fill(FillError)
UnexpectedElement(String)
MissingAttribute
InvalidAttribute
LineWidthOutOfRange(u32)
Trait Implementations§
Source§impl Error for LineError
impl Error for LineError
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<LineError> for ShapePropertiesError
impl From<LineError> for ShapePropertiesError
Source§impl From<LineError> for ThemeError
impl From<LineError> for ThemeError
Auto Trait Implementations§
impl !RefUnwindSafe for LineError
impl !UnwindSafe for LineError
impl Freeze for LineError
impl Send for LineError
impl Sync for LineError
impl Unpin for LineError
impl UnsafeUnpin for LineError
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