Enum printpdf::SvgParseError
source · pub enum SvgParseError {
Svg2PdfConversionError(String),
PdfParsingError,
NoContentStream,
InternalError,
}
Variants§
Trait Implementations§
source§impl Clone for SvgParseError
impl Clone for SvgParseError
source§fn clone(&self) -> SvgParseError
fn clone(&self) -> SvgParseError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SvgParseError
impl Debug for SvgParseError
source§impl Display for SvgParseError
impl Display for SvgParseError
source§impl Error for SvgParseError
impl Error for SvgParseError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 PartialEq for SvgParseError
impl PartialEq for SvgParseError
source§fn eq(&self, other: &SvgParseError) -> bool
fn eq(&self, other: &SvgParseError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SvgParseError
Auto Trait Implementations§
impl RefUnwindSafe for SvgParseError
impl Send for SvgParseError
impl Sync for SvgParseError
impl Unpin for SvgParseError
impl UnwindSafe for SvgParseError
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