pub struct PdfAppearanceCharacteristics { /* private fields */ }Expand description
Wraps PDFAppearanceCharacteristics.
Implementations§
Source§impl PdfAppearanceCharacteristics
impl PdfAppearanceCharacteristics
Sourcepub fn info(&self) -> Result<PdfAppearanceCharacteristicsInfo>
pub fn info(&self) -> Result<PdfAppearanceCharacteristicsInfo>
Wraps the corresponding PDFAppearanceCharacteristics API.
Sourcepub fn set_control_type(&self, control_type: PdfWidgetControlType) -> Result<()>
pub fn set_control_type(&self, control_type: PdfWidgetControlType) -> Result<()>
Wraps the corresponding PDFAppearanceCharacteristics API.
Sourcepub fn set_rotation(&self, rotation: i32)
pub fn set_rotation(&self, rotation: i32)
Wraps the corresponding PDFAppearanceCharacteristics API.
Sourcepub fn set_caption(&self, caption: Option<&str>) -> Result<()>
pub fn set_caption(&self, caption: Option<&str>) -> Result<()>
Wraps the corresponding PDFAppearanceCharacteristics API.
Sourcepub fn set_rollover_caption(&self, caption: Option<&str>) -> Result<()>
pub fn set_rollover_caption(&self, caption: Option<&str>) -> Result<()>
Wraps the corresponding PDFAppearanceCharacteristics API.
Sourcepub fn set_down_caption(&self, caption: Option<&str>) -> Result<()>
pub fn set_down_caption(&self, caption: Option<&str>) -> Result<()>
Wraps the corresponding PDFAppearanceCharacteristics API.
Sourcepub fn set_background_color(&self, color: PdfColor)
pub fn set_background_color(&self, color: PdfColor)
Wraps the corresponding PDFAppearanceCharacteristics API.
Sourcepub fn set_border_color(&self, color: PdfColor)
pub fn set_border_color(&self, color: PdfColor)
Wraps the corresponding PDFAppearanceCharacteristics API.
Trait Implementations§
Source§impl Clone for PdfAppearanceCharacteristics
impl Clone for PdfAppearanceCharacteristics
Source§fn clone(&self) -> PdfAppearanceCharacteristics
fn clone(&self) -> PdfAppearanceCharacteristics
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 moreAuto Trait Implementations§
impl Freeze for PdfAppearanceCharacteristics
impl RefUnwindSafe for PdfAppearanceCharacteristics
impl !Send for PdfAppearanceCharacteristics
impl !Sync for PdfAppearanceCharacteristics
impl Unpin for PdfAppearanceCharacteristics
impl UnsafeUnpin for PdfAppearanceCharacteristics
impl UnwindSafe for PdfAppearanceCharacteristics
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