pub struct ResetAction {
pub fields: Vec<String>,
pub flags: u32,
}Expand description
Parsed reset-form action attached to a button.
Produced when the parser encounters an /A dictionary with /S /ResetForm.
Triggered when the user clicks a push button configured to clear form
fields back to their default values.
Fields§
§fields: Vec<String>Fully-qualified field names (parent.child notation) targeted by the reset. Empty means “reset all fields in the form”.
flags: u32Bit flags controlling include-vs-exclude semantics (/Fields is the
list to reset, or the list to skip, depending on bit 0). See ISO
32000-2 §12.7.5.3.
Trait Implementations§
Source§impl Clone for ResetAction
impl Clone for ResetAction
Source§fn clone(&self) -> ResetAction
fn clone(&self) -> ResetAction
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 ResetAction
impl RefUnwindSafe for ResetAction
impl Send for ResetAction
impl Sync for ResetAction
impl Unpin for ResetAction
impl UnsafeUnpin for ResetAction
impl UnwindSafe for ResetAction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more