pub struct FormFieldCheckbox {
pub name: String,
pub rect: [f32; 4],
pub page_index: usize,
pub checked: bool,
pub default_appearance: Option<String>,
}Expand description
/FT /Btn checkbox (§12.7.4.2.3). The checked / unchecked appearance
is keyed by /Yes (checked) and /Off (unchecked) state names per
Table 228 — round-31 emits both as the rendered glyph ‘X’ / blank.
Fields§
§name: String/T partial field name.
rect: [f32; 4]/Rect widget bounds.
page_index: usize0-based page index.
checked: boolInitial checked state.
default_appearance: Option<String>/DA default appearance.
Trait Implementations§
Source§impl Clone for FormFieldCheckbox
impl Clone for FormFieldCheckbox
Source§fn clone(&self) -> FormFieldCheckbox
fn clone(&self) -> FormFieldCheckbox
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 FormFieldCheckbox
impl RefUnwindSafe for FormFieldCheckbox
impl Send for FormFieldCheckbox
impl Sync for FormFieldCheckbox
impl Unpin for FormFieldCheckbox
impl UnsafeUnpin for FormFieldCheckbox
impl UnwindSafe for FormFieldCheckbox
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