pub enum PdfAnnotationLineEndingStyle {
None,
Square,
Circle,
Diamond,
OpenArrow,
ClosedArrow,
}Expand description
Wraps PdfAnnotationLineEndingStyle values.
Variants§
None
Wraps the corresponding PdfAnnotationLineEndingStyle value.
Square
Wraps the corresponding PdfAnnotationLineEndingStyle value.
Circle
Wraps the corresponding PdfAnnotationLineEndingStyle value.
Diamond
Wraps the corresponding PdfAnnotationLineEndingStyle value.
OpenArrow
Wraps the corresponding PdfAnnotationLineEndingStyle value.
ClosedArrow
Wraps the corresponding PdfAnnotationLineEndingStyle value.
Implementations§
Source§impl PdfAnnotationLineEndingStyle
impl PdfAnnotationLineEndingStyle
Sourcepub const fn from_line_style(style: PdfLineStyle) -> Self
pub const fn from_line_style(style: PdfLineStyle) -> Self
Converts a PDFLineStyle-backed value into PDFAnnotationLineEndingStyle.
Sourcepub const fn line_style(self) -> PdfLineStyle
pub const fn line_style(self) -> PdfLineStyle
Converts this value back to the corresponding PDFLineStyle case.
Trait Implementations§
Source§impl Clone for PdfAnnotationLineEndingStyle
impl Clone for PdfAnnotationLineEndingStyle
Source§fn clone(&self) -> PdfAnnotationLineEndingStyle
fn clone(&self) -> PdfAnnotationLineEndingStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PdfAnnotationLineEndingStyle
impl Debug for PdfAnnotationLineEndingStyle
Source§impl PartialEq for PdfAnnotationLineEndingStyle
impl PartialEq for PdfAnnotationLineEndingStyle
Source§fn eq(&self, other: &PdfAnnotationLineEndingStyle) -> bool
fn eq(&self, other: &PdfAnnotationLineEndingStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PdfAnnotationLineEndingStyle
impl Eq for PdfAnnotationLineEndingStyle
impl StructuralPartialEq for PdfAnnotationLineEndingStyle
Auto Trait Implementations§
impl Freeze for PdfAnnotationLineEndingStyle
impl RefUnwindSafe for PdfAnnotationLineEndingStyle
impl Send for PdfAnnotationLineEndingStyle
impl Sync for PdfAnnotationLineEndingStyle
impl Unpin for PdfAnnotationLineEndingStyle
impl UnsafeUnpin for PdfAnnotationLineEndingStyle
impl UnwindSafe for PdfAnnotationLineEndingStyle
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