pub struct PdfWidget { /* private fields */ }Implementations§
Source§impl PdfWidget
impl PdfWidget
pub fn annotation(&self) -> &PdfAnnotation
pub fn into_annotation(self) -> PdfAnnotation
pub fn xref(&self) -> Result<i32, Error>
pub fn type(&self) -> Result<WidgetType, Error>
pub fn update(&mut self) -> Result<bool, Error>
pub fn is_signed(&self) -> Result<bool, Error>
pub fn is_readonly(&self) -> Result<bool, Error>
pub fn name(&self) -> Result<Option<String>, Error>
pub fn field_type_name(&self) -> Result<Option<String>, Error>
pub fn field_flags(&self) -> Result<FieldFlags, Error>
pub fn value(&self) -> Result<Option<String>, Error>
pub fn label(&self) -> Result<Option<String>, Error>
pub fn set_value( &mut self, doc: &mut PdfDocument, value: &str, ignore_trigger_events: bool, ) -> Result<bool, Error>
pub fn reset(&mut self, doc: &mut PdfDocument) -> Result<(), Error>
Trait Implementations§
Auto Trait Implementations§
impl !Send for PdfWidget
impl !Sync for PdfWidget
impl Freeze for PdfWidget
impl RefUnwindSafe for PdfWidget
impl Unpin for PdfWidget
impl UnsafeUnpin for PdfWidget
impl UnwindSafe for PdfWidget
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