pub enum PageSetupError {
Papertype(String),
Orientation(String),
}Expand description
A paper or orientation name that does not exist.
Variants§
Trait Implementations§
Source§impl Clone for PageSetupError
impl Clone for PageSetupError
Source§impl Debug for PageSetupError
impl Debug for PageSetupError
Source§impl Display for PageSetupError
impl Display for PageSetupError
impl Eq for PageSetupError
Source§impl Error for PageSetupError
impl Error for PageSetupError
1.30.0 · 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 PartialEq for PageSetupError
impl PartialEq for PageSetupError
impl StructuralPartialEq for PageSetupError
Auto Trait Implementations§
impl Forget for PageSetupError
impl Freeze for PageSetupError
impl Move for PageSetupError
impl RefUnwindSafe for PageSetupError
impl Send for PageSetupError
impl Sync for PageSetupError
impl Unpin for PageSetupError
impl UnsafeUnpin for PageSetupError
impl UnwindSafe for PageSetupError
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