pub struct Occur {
pub min: u32,
pub max: Option<u32>,
pub initial: u32,
}Expand description
Occurrence rules for repeating subforms (XFA S3.3 occur element).
Controls how many instances of a subform are created. The layout engine
expands templates based on the initial count, bounded by min and max.
Fields§
§min: u32Minimum number of occurrences (default 1).
max: Option<u32>Maximum number of occurrences (-1 = unlimited). Default 1.
Using Option<u32> where None means unlimited.
initial: u32Initial number of occurrences (default = min).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Occur
impl RefUnwindSafe for Occur
impl Send for Occur
impl Sync for Occur
impl Unpin for Occur
impl UnsafeUnpin for Occur
impl UnwindSafe for Occur
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